doctrine query() params?

Posted by fayer on Stack Overflow See other posts from Stack Overflow or by fayer
Published on 2010-05-09T19:32:03Z Indexed on 2010/05/09 19:38 UTC
Read the original article Hit count: 216

Filed under:

i created a Doctrine_Query and executes it but i wanna know what params i can pass to it.

$q = Doctrine_Query::create()
    ->select('cl.id, cl.name')
    ->from('ContactList cl');

$contactLists = $q->execute($params, $hydrationMode);

from the api documentation:

execute($params = array(), $hydrationMode = null)

where do they tell me about the params? and also hydration mode.

seems like i cannot find anything in the documentations. would be great if they had a reference for everything.

thanks

© Stack Overflow or respective owner

Related posts about doctrine