i want to use doctrine with zend_paginator here some example query : $allArticleObj = $this->_em->getRepository(\'Articles\');
I\'m trying to do a join between 2 tables, but I get this error: Message: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your开发者_JS百科 SQL syntax; check the manual t
i\'m trying to build a repo function to search a entity which has a few associations.My question is, what is an efficient manner for doing this?If I have a project entity with an association to a user
I am developing a social network for an intranet, and I came across a problem [?]. I have the entities User and Business as main entities of the network.
As per the title, how would one match on a regular开发者_运维百科 expression with the Doctrine 2 query builder? Basically I\'m trying to generate unique slugs.
I have the ff basic query. The query works fine without WHERE method being called. $qb->select(array(\'m\', \'c\'))
Title explains it all. I have a lifecyclecallback function in entity. I want to get last inserted id from PostPersist event not from the entity. AS an example I dont want to do
I have used Zend_Db and I found it very good, but why do some books and documentations advocate using Doctrine 2 over Zend_Db ? I am not an expert in ORM, but is ther开发者_Python百科e some functional
I have three tables/entities for which I want to preserve their data when I load Doctrine2 fixtures. Of course, right now, when I run doctrine:fixtures:load, it purges the entire database (except migr
In Symfony2 RC3, I am trying to create a related entity on a User object (FOSUserBundle) at the point of user creation so that I can display the appropriate fields on an edit profile form. I am doing