Does this happen in both the dev_appserver and production? On Fri, Jun 15, 2012 at 10:28 AM, Christopher Ramírez < blindedbythed...@gmail.com> wrote:
> I was trying to use projection queries, but I had extrange issues using > them. > > I'm trying to use them like this: > offset_group = Clients.all( \ > projection=('name', 'sex', 'birth_date', 'email', 'discount') > ).order('-__key__').fetch(limit=10, offset=skip_recs) > > The above code is supposed to bring me the last 10 clients. But actually > it does not return the last 10 (actually returns fewer and the actual last > record is not included). Also the results seems alternated or maybe > even/odd are skipped. If I take off projection param, the result is as > spected: > offset_group = Clients.all().order('-__key__').fetch(limit=10, > offset=skip_recs) > > I do not know if this is a bug in projection queries or they have to be > used in a different way. Please help me. I would like to use projection > queries because they are really fast! > > Kind Regards, > Christopher Ramírez > > -- > 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/-/Ahgw_iP_mukJ. > To post to this group, send email to google-appengine@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.