1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/manual/docs/DQL (Doctrine Query Language) - WHERE clause.php

24 lines
442 B
PHP
Raw Normal View History

2007-04-14 01:49:11 +04:00
Syntax:
<code>
WHERE <where_condition>
2007-04-14 01:49:11 +04:00
</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.
2007-04-14 01:49:11 +04:00
* 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