1
0
mirror of synced 2025-01-31 20:41:44 +03:00

Update query-builder.rst

This commit is contained in:
Ronan Guilloux 2014-05-29 16:36:22 +02:00
parent 495fe6002d
commit 526c757901

View File

@ -520,7 +520,7 @@ of DQL. It takes 3 parameters: ``$dqlPartName``, ``$dqlPart`` and
// "SELECT u FROM User u WHERE u.id = ? ORDER BY u.name ASC"
// using QueryBuilder string support
$qb->add('select', 'u')
->add('from', 'UserH u')
->add('from', 'User u')
->add('where', 'u.id = ?1')
->add('orderBy', 'u.name ASC');