1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/manual/new/docs/en/dql-doctrine-query-language/where-clause.txt
2007-09-06 16:31:07 +00:00

11 lines
452 B
Plaintext

Syntax:
<code type="sql">
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