Answer the question
In order to leave comments, you need to log in
Why does ->setParameter() call an exception in Simfony?
I do
$q = $em->createQuery('select u from AppUrlShortenerBundle:Urls u where u.id > 2');
$q = $em->createQuery('select u from AppUrlShortenerBundle:Urls u where u.id > :abc')->setParametr('abc', 2);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question