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

17 lines
554 B
PHP
Raw Normal View History

2006-10-20 23:26:39 +04:00
Syntax:
<div class='sql'>
<pre>
WHERE <i>where_condition</i>
</pre>
</div>
<ul>
<li \> The WHERE clause, if given, indicates the condition or conditions that the records must satisfy to be selected.
<br \><br \>
<li \> <i>where_condition</i> is an expression that evaluates to true for each row to be selected.
<br \><br \>
<li \> The statement selects all rows if there is no WHERE clause.
<br \><br \>
<li \> When narrowing results with aggregate function values HAVING clause should be used instead of WHERE clause
<br \><br \>
</ul>