anyways... back on topic. $c = new Criteria(); $c->add(SomeModelPeer::ID,'1'); $sql = magicalFunctionX($c,doSelectOne); echo $sql;
should print: SELECT * FROM SomeModel WHERE id ='1' LIMIT 1. Any serious help would be greatly appreciated. - Colin On Oct 4, 4:38 pm, hutchic <[EMAIL PROTECTED]> wrote: > I'm trying to build mysql from a criteria object. > > Any help would be appreciated. > - Colin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---