1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/manual/docs/DQL (Doctrine Query Language) - WHERE clause.php
2007-04-13 21:49:11 +00:00

24 lines
445 B
PHP

Syntax:
<code>
WHERE //where_condition//
</code>
* The WHERE clause, if given, indicates the condition or conditions that the records must satisfy to be selected.
* //where_condition// is an expression that evaluates to true for each row to be selected.
* The statement selects all rows if there is no WHERE clause.
* When narrowing results with aggregate function values HAVING clause should be used instead of WHERE clause