Kiril Angov wrote: > yes, I noticed as soon as I sent the email :) sorry about that. Btw, I > remember that doctrine had a way to execute SQL function with some sort > of a special class like "class docrtineSqlFunction()". I was searching > the docs for good 30 minutes but could not find it. Am I confusing it > with another ORM :)
Doctrine_RawSql - I'm not sure how well documented this is, but it's certainly in the test cases (which you don't get in sfDoctrine.) you can also do Doctrine_Manager::connection()->getDbh(); To get the PDO database handle - however... I don't think these suggestions help the poster either, as I imagine he wants do just set properties in his object and save it. The RawSql class is there for doing complicated SQL that cannot be done in DQL, but still have it populate your model objects - an amazingly useful function of doctrine --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
