thanks for the post! in general, that's right. using fetch() is faster
and more efficient than iterating over query results, since fetch()
pulls all of the results from the datastore at once.

i'm curious about your first fetch() example, though:

  result=self.gql("where character = :1", self.key()).fetch()

the limit parameter for fetch() is required:

  http://code.google.com/appengine/docs/datastore/queryclass.html#Query_fetch

so that example raises an exception. did you maybe just not notice
that the exception for that example was an error, not a timeout?
--~--~---------~--~----~------------~-------~--~----~
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