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\'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)
After performing a custom query using $DBH = Doctrine_Manager::getInstance()->connection()->getDbh();
I have two tables Entity and Message. as each entity can have many messages so it\'s like parent child relation. I dont want to use doctrine custom query so I am loading entity message like
I\'m using a preDqlSelect() callback to add a \"virtual field\". But the validation of my query must be happening before the callback get fired because I can\'t order by that new field when I query th
I have an action with two requests on an unique table. The results of the requests must be different.
I\'m having trouble executing a Doctrine DQL Query. This is the error it gives me. Doctrine\\Common\\Annotations\\AnnotationException: [Syntax Error] Expected PlainValue,
I searched for a long time, but I don\'t manage to retrieve two related object in one query. I am using Doctrine and Symfony (uses Doctrine by default).
I have three tables: Project: ... relations: User: local: authorId foreign: id Users: class: User local: projectId
I used this DQL in Doctrine $q->update(\'produc开发者_Go百科t\') ->set(\'quantity\',\'?\') ->where(\'id=?\');