diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-10-02 19:09:28 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-10-02 19:09:28 +0200 |
commit | 8fdb74bdd57ed5dda444e0a7b1b514815805b09b (patch) | |
tree | 9f84a54e8163e99b3f50b76a12c8f8962aef7789 /lib/private/DB | |
parent | d14c971ad64c52aede28ab37e7b885d763936604 (diff) | |
download | nextcloud-server-8fdb74bdd57ed5dda444e0a7b1b514815805b09b.tar.gz nextcloud-server-8fdb74bdd57ed5dda444e0a7b1b514815805b09b.zip |
Update signature for in/notIn
$y is always passed to quoteColumnName hence ILiteral|IParameter|IQueryFunction are supported.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib/private/DB')
-rw-r--r-- | lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php b/lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php index 4771609ad6d..f2edea575a2 100644 --- a/lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php +++ b/lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php @@ -327,7 +327,7 @@ class ExpressionBuilder implements IExpressionBuilder { * Creates a IN () comparison expression with the given arguments. * * @param ILiteral|IParameter|IQueryFunction|string $x The field in string format to be inspected by IN() comparison. - * @param string|array $y The placeholder or the array of values to be used by IN() comparison. + * @param ILiteral|IParameter|IQueryFunction|string|array $y The placeholder or the array of values to be used by IN() comparison. * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants * required when comparing text fields for oci compatibility * @@ -343,7 +343,7 @@ class ExpressionBuilder implements IExpressionBuilder { * Creates a NOT IN () comparison expression with the given arguments. * * @param ILiteral|IParameter|IQueryFunction|string $x The field in string format to be inspected by NOT IN() comparison. - * @param string|array $y The placeholder or the array of values to be used by NOT IN() comparison. + * @param ILiteral|IParameter|IQueryFunction|string|array $y The placeholder or the array of values to be used by NOT IN() comparison. * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants * required when comparing text fields for oci compatibility * |