1
0
mirror of synced 2025-01-17 22:11:41 +03:00

one more :P code type is sql

This commit is contained in:
jackbravo 2007-09-06 16:36:53 +00:00
parent 722f7903fd
commit a5619cc9d8

View File

@ -16,7 +16,7 @@ class NewsItem extends Doctrine_Record
</code>
Now lets say we have an application where users are allowed to search for different news items, an obvious way to implement this would be building a form and based on that form build DQL queries such as:
<code>
<code type="sql">
SELECT n.* FROM NewsItem n WHERE n.title LIKE ? OR n.content LIKE ?
</code>