Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $qb->select(array('u')) // string 'u' is converted to array internally
- ->from('User', 'u')
- ->where($qb->expr()->orx(
- $qb->expr()->eq('u.id', '?1'),
- $qb->expr()->like('u.nickname', '?2')
- ))
- ->orderBy('u.surname', 'ASC'));
Add Comment
Please, Sign In to add comment