doctrine-query
Regex with Doctrine 2 query builder?
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.[详细]
2023-03-18 09:41 分类:问答sfDoctrinePager with custom query returned only one row
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)[详细]
2023-02-22 05:59 分类:问答How to Hydrate custom query in Symfony/Doctrine
After performing a custom query using $DBH = Doctrine_Manager::getInstance()->connection()->getDbh();[详细]
2023-02-06 02:52 分类:问答Limit Clause While Fetching Child Records in Doctrine
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[详细]
2023-01-26 08:09 分类:问答Ordering by a generated field in Doctrine 1.2
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[详细]
2023-01-15 06:32 分类:问答Problem with two requests on a table in one action
I have an action with two requests on an unique table. The results of the requests must be different.[详细]
2023-01-12 01:03 分类:问答Doctrine 2 PlainValue expected
I\'m having trouble executing a Doctrine DQL Query. This is the error it gives me. Doctrine\\Common\\Annotations\\AnnotationException: [Syntax Error] Expected PlainValue,[详细]
2023-01-11 17:19 分类:问答Retrieve related objects with Doctrine and Symfony
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).[详细]
2023-01-07 06:44 分类:问答Get Doctrine Relationships in DQL
I have three tables: Project: ... relations: User: local: authorId foreign: id Users: class: User local: projectId[详细]
2023-01-05 06:28 分类:问答Doctrine DQL execute passing params
I used this DQL in Doctrine $q->update(\'produc开发者_Go百科t\') ->set(\'quantity\',\'?\') ->where(\'id=?\');[详细]
2022-12-28 05:23 分类:问答