nextcloud/lib/private/DB/QueryBuilder/QueryFunction.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
469 B
PHP
Raw Normal View History

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/
2015-07-07 11:30:26 -04:00
namespace OC\DB\QueryBuilder;
2015-07-07 11:30:26 -04:00
use OCP\DB\QueryBuilder\IQueryFunction;
2015-07-07 11:30:26 -04:00
class QueryFunction implements IQueryFunction {
public function __construct(
protected string $function,
) {
2015-07-07 11:30:26 -04:00
}
public function __toString(): string {
return $this->function;
2015-07-07 11:30:26 -04:00
}
}