dql
Is there a trick with Doctrine's Query Language to access object methods?
I have a few methods on my entity class (calculating time intervals between creation开发者_高级运维 and deadline, etc.) that I\'d like to order by in my DQL. I tried using __get to access the method a[详细]
2023-02-18 01:07 分类:问答DQL to remove a subgroup from a group in Documentum?
Does anyone know how to 开发者_StackOverflow社区remove a subgroup from a group in Documentum using DQL?[详细]
2023-02-17 03:09 分类:问答How to specify null value as filter in a Doctrine query?
I am using Doctrine 1.1 in Zend. I am trying to write开发者_JS百科 a query that will return records that have a null value in a certain column.[详细]
2023-02-13 22:41 分类:问答trouble writing a dql query
I\'m using a plugin to add tags to the contents of my database, and I\'m having some difficulties in writing the following query :[详细]
2023-02-07 14:32 分类:问答Doctrine 2 DQL: Can I combine these queries into 1
I am trying to combine these queries into 1 # Get completed todos SELECT COUNT(t.id) from Application\\Models\\Todos t[详细]
2023-02-06 06:19 分类:问答Better to use DQL for getting Column Count or Get Collection Then Count?
I am quite sure that DQL will be t开发者_JAVA百科he way to go, but I am wondering if Doctrine, i am using Doctrine 2, has someway to return the row count. I won\'t be using the rows itself, I just wan[详细]
2023-02-06 04:21 分类:问答Doctrine DQL Can I not dot into related objects? eg. todo.todoList.project
I think I am getting the error \"[Syntax Error] line 0, col 194: Error: Expected =, <, <=, <>, >, >=, !=, got \'.\'\"[详细]
2023-02-05 18:03 分类:问答How to make a nested query with an Entity that doesn't really exist (many-to-many)
I\'m new with Doctrine2 so my question can be easy to answer (I hope so). First of all, here the SQL query that I\'d w开发者_如何学运维ant :[详细]
2023-02-02 02:38 分类:问答dql query builder Doctrine 1.2
Is there easier way to build querys in doctrine then this. At this point there is only one parameter, but some case there could be like username, tagname, etc.[详细]
2023-02-01 21:52 分类:问答dql and leftjoin
I\'m trying to create a DQL query with two conditions in a left join. It\'s ok with one condition, but impossible to find the semantic for more conditions. Just below a SQL example about what I\'m try[详细]
2023-01-23 09:00 分类:问答