Thanks Guido!
I addressed the issue thank to Alfred Fuller and Timh.
https://groups.google.com/forum/?hl=en&fromgroups#!topic/google-appengine/QL3in3ytY8U
The origin of the problem seems to be that some properties included in the
proyection were not indexed. And yes, you are right, I'm using db.
On Tuesday, June 19, 2012 2:03:23 PM UTC-6, Guido van Rossum wrote:
>
> On Tuesday, June 19, 2012 7:22:15 AM UTC-7, Christopher Ramírez wrote:
>>
>> On Monday, June 18, 2012 6:00:23 PM UTC-6, Marce (Google) wrote:
>>>
>>> - Projection queries are now supported in NDB.
>>>
>>
>> I have problems with projection queries. If I use them with
>> .order('-__key__').fetch(limit=20) records returned seems to be only the
>> even or odd ones. I opened a new discussion in this group but it was never
>> publicised.
>>
>
> To be clear, is this with NDB or with db? (I'm guessing db, since NDB
> doesn't support the syntax .order('-__key__') -- you'd have to use
> .order(-MyClass._key).
>
> Either way, can you please submit this to stackoverflow, with more details
> about what your code looks like and so on, so someone can help you?
>
> --Guido van Rossum
>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/vwoN6F5a5WkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.