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/public/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/public/DB')
-rw-r--r-- | lib/public/DB/QueryBuilder/IExpressionBuilder.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/DB/QueryBuilder/IExpressionBuilder.php b/lib/public/DB/QueryBuilder/IExpressionBuilder.php index 0d629ad5230..14847234090 100644 --- a/lib/public/DB/QueryBuilder/IExpressionBuilder.php +++ b/lib/public/DB/QueryBuilder/IExpressionBuilder.php @@ -284,7 +284,7 @@ interface 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 * @@ -297,7 +297,7 @@ interface 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 * |