Can you please try:
select count (this) from <entity>?
This topic was discussed once or more in the group...

On Fri, Jun 11, 2010 at 5:39 PM, RAVINDER MAAN <rsmaan...@gmail.com> wrote:

> How can we get records count for a query in JDO.
> In sql we have select count(*) from <table_name>
> i want to get number of records returned by a query. what is the
> efficient way to do that.One option is to use size() function .I think
> it is not best way.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to