We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c69e55 commit 625a70dCopy full SHA for 625a70d
docs/en/reference/query-builder.rst
@@ -332,13 +332,13 @@ Most notably you can use expressions to build nested And-/Or statements:
332
->select('id', 'name')
333
->from('users')
334
->where(
335
- $queryBuilder->expr()->andX(
+ $queryBuilder->expr()->and(
336
$queryBuilder->expr()->eq('username', '?'),
337
$queryBuilder->expr()->eq('email', '?')
338
)
339
);
340
341
-The ``andX()`` and ``orX()`` methods accept an arbitrary amount
+The ``and()`` and ``or()`` methods accept an arbitrary amount
342
of arguments and can be nested in each other.
343
344
There is a bunch of methods to create comparisons and other SQL snippets
0 commit comments