Tzakie,

As Dan pointed out, GqlQuery isn't actually fetching the data when
constructed.  Try this instead:

CategoryRows = db.GqlQuery(QueryString)
results = CategoryRows.fetch(limit)

where limit is the max number of rows to fetch. I believe this will
make a single trip the datastore rather than once every 20 objects
(which is done to make using intrinsic iteration of a GqlQuery
performant).  I'd be curious to see what, if any, gain this yields
with your dataset.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to