Hi everybody,
the subscription of the doctrine mailinglist currently does not work ( i
get no response subscription mail), so i try to find the answer here.
Devs, who do not work with doctrine, please ignore this mail :)

I am lost with simple querying data from a table. I read the docus, but
nothing works:

This call:
$definition = $q->from('__TABLE__')->where('definitionname = ? ',
'foo')->execute();

generates:
SELECT __FIELDS__ FROM __TABLE__  WHERE definitionname = ? - (true )

My param 'foo' will not be "converted", no matter, what i put there.

This call:
$q->parse('FROM __TABLE__ WHERE definitionname = ?');
$myInt = $q->count(array('foo'));

generates this exception:
exception 'Doctrine_Query_Exception' with message 'Unknown overload
method' in __FILE__ Doctrine/Query.php:655

Can someone please explain, why these simple queries do not work? I have
no problems with inserting data, but i could not query any....

- Frank

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to