- IFNULL(g.id, :guestid) AS g_id,
- IFNULL(g.title, :guesttitle) AS g_title
- FROM RapsysUserBundle:User AS u
- LEFT JOIN RapsysUserBundle:UserGroup AS gu ON (gu.user_id = u.id)
- LEFT JOIN RapsysUserBundle:Group AS g ON (g.id = gu.group_id)
+ g.id AS g_id,
+ g.title AS g_title
+ FROM Rapsys\UserBundle\Entity\User AS u
+ LEFT JOIN Rapsys\UserBundle\Entity\UserGroup AS gu ON (gu.user_id = u.id)
+ LEFT JOIN Rapsys\UserBundle\Entity\Group AS g ON (g.id = gu.group_id)