Hello Experts,
Is it possible to count and query some attributes in dql. For example, select count(*) as result, object_name from dm_document?
Thanks in advance
This is helpful but not exactly what i am looking for.
I have a taskspace search form and when ever users makes a search I want to display the number of results found.
But I guess that is not possible.
You can do it with another query.
I suppose you can get the final DQL which you need to execute.
Execute the original query, then execute the following:
select count(*) from (YOUR_ORIGINAL_DQL)
You may need to remove the order by statement from the original dql.