As of yesterday's 1.2.5, the JDO and JPA interfaces should issue a keys-only
query if you restrict the fields returned by your query to the primary key
only, addressing this particular issue:
http://code.google.com/p/datanucleus-appengine/issues/detail?id=77

- Jason

On Thu, Sep 3, 2009 at 7:07 AM, Corneliu Paul Lupulet <
corneliu.lupu...@gmail.com> wrote:

> There is! (check out this post about pagination:
> http://code.google.com/appengine/articles/paging.html )
> I've been successfully using something like this until now:
>
>  "select * from whatever and field1 = 'whatever' and ... and key >
> 'FGHFGHHDG453dfgd4453dDFDFG' order by whatever asc, ....  key asc
>
> My only issue is that i don't want the query to return the actual objects,
> but just their keys (it is supposedly much faster)
>
> On Thu, Sep 3, 2009 at 4:45 PM, leszek <leszek.ptokar...@gmail.com> wrote:
>
>>
>> But how do you want to accomplish it ? There is no query like "give me
>> the next no more than 1000 keys using filter key > lastkey".  Also
>> there is no query like "give me the least key using filter "key >
>> lastkey".
>>
>>
>
>
> --
> Corneliu Paul Lupulet
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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-java@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