Update signature for set
also ILiteral and IQueryFunction are valid. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
8fdb74bdd5
commit
64b10f61df
|
@ -42,6 +42,7 @@ use OC\DB\QueryBuilder\FunctionBuilder\OCIFunctionBuilder;
|
|||
use OC\DB\QueryBuilder\FunctionBuilder\PgSqlFunctionBuilder;
|
||||
use OC\DB\QueryBuilder\FunctionBuilder\SqliteFunctionBuilder;
|
||||
use OC\SystemConfig;
|
||||
use OCP\DB\QueryBuilder\ILiteral;
|
||||
use OCP\DB\QueryBuilder\IParameter;
|
||||
use OCP\DB\QueryBuilder\IQueryBuilder;
|
||||
use OCP\DB\QueryBuilder\IQueryFunction;
|
||||
|
@ -695,7 +696,7 @@ class QueryBuilder implements IQueryBuilder {
|
|||
* </code>
|
||||
*
|
||||
* @param string $key The column to set.
|
||||
* @param IParameter|string $value The value, expression, placeholder, etc.
|
||||
* @param ILiteral|IParameter|IQueryFunction|string $value The value, expression, placeholder, etc.
|
||||
*
|
||||
* @return $this This QueryBuilder instance.
|
||||
*/
|
||||
|
|
|
@ -522,7 +522,7 @@ interface IQueryBuilder {
|
|||
* </code>
|
||||
*
|
||||
* @param string $key The column to set.
|
||||
* @param IParameter|string $value The value, expression, placeholder, etc.
|
||||
* @param ILiteral|IParameter|IQueryFunction|string $value The value, expression, placeholder, etc.
|
||||
*
|
||||
* @return $this This QueryBuilder instance.
|
||||
* @since 8.2.0
|
||||
|
|
Loading…
Reference in New Issue