From 293feeb522b2fb1137c56887aba823cbf5e99df5 Mon Sep 17 00:00:00 2001 From: A Slatius Date: Wed, 13 Apr 2016 15:23:16 +0200 Subject: [PATCH] Update QueryInterface.php Missing closing bracket in OR condition example --- framework/db/QueryInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/db/QueryInterface.php b/framework/db/QueryInterface.php index 1c188915c2..c3a0991c3e 100644 --- a/framework/db/QueryInterface.php +++ b/framework/db/QueryInterface.php @@ -100,7 +100,7 @@ interface QueryInterface * The method will *not* do any quoting or escaping. * * - **or**: similar to the `and` operator except that the operands are concatenated using `OR`. For example, - * `['or', ['type' => [7, 8, 9]], ['id' => [1, 2, 3]]` will generate `(type IN (7, 8, 9) OR (id IN (1, 2, 3)))`. + * `['or', ['type' => [7, 8, 9]], ['id' => [1, 2, 3]]]` will generate `(type IN (7, 8, 9) OR (id IN (1, 2, 3)))`. * * - **not**: this will take only one operand and build the negation of it by prefixing the query string with `NOT`. * For example `['not', ['attribute' => null]]` will result in the condition `NOT (attribute IS NULL)`.