This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » support » symfony 1.3 and 1.4 » Doctrine_query problem
Doctrine_query problem [message #103028] Sat, 24 July 2010 11:19 Go to next message
chabbey  is currently offline chabbey
Messages: 3
Registered: July 2010
Location: Sierre
Junior Member
Hello !

I am trying to make a doctrine_query in order to retrieve all the records that have been created at a given day

$query = Doctrine::getTable('XXX')->createQuery('q')
           ->where('c.created_at = ?' , XXXXXXX )

Any ideas ??

Thanks you very much
Re: Doctrine_query problem [message #103057 is a reply to message #103028 ] Sun, 25 July 2010 19:54 Go to previous message
Floup  is currently offline Floup
Messages: 1
Registered: July 2010
Junior Member
Hi chabbey!

Try this:

$query = Doctrine::getTable('XXX')->createQuery('a')
         ->where('a.created_at = ?' , XXXXXXX)->execute();
Previous Topic:Issue with extended Form class and Doctrine getObject
Next Topic:How to disable session in the framework?
Goto Forum:

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software