I\'ve tried to combine my Doctrine_Query and sfDoctrinePager, but when I fetch the results, it\'s always return one row (when I run the generated query in my database it was 开发者_如何学编程normal)
I keep getting these error messages in my error log: PHP Fatal error:Uncaught exception \'Doctrine_Connection_Exception\' with message \'PDO Connection Error: SQLSTATE[00000] [1135] Can\'t create a n
I\'m 开发者_StackOverflowusing Symfony1.4, so my question relates both to a database design and to Doctrine.
If I use relations for collection without caching, I have 1 query. With caching this query splits into a lot of small queries.
I can\'t update the form usinf formwidgets, I\'m using doctrine and symfony 1.4. Here is my code protected function processFormUpdate(sfWebRequest $request, sfForm $form){
Is there any command in doctrine which can create db table from YAML. I can see we can create YAML from DB using ./doctrine generate-yaml-db
I find it quite handy to write dql statements in console. For example, ./symfony doctrine:dql \"from sfGuardUser where id = 8\"
Does any know of a way to integrate zend framework with Mongo开发者_StackOverflow社区 using Doctrine 2 beta ODM?
Is there any way to set the value of a sfwidgetformdoctrinechoice from the parameter in actions.php?
is it possible to make : $q->createQuery(\'q\') ->whereIn(\'q.id\', $q2) Where 开发者_如何学JAVA$q2 is an other Doctrine_Query object. Because my subquery is complex and I don\'t want to writ