Hi ,
I want to fetch a single random entity from datastore. I search on
google group and found and idea to
have a float random number field to do so. ---- Another Idea is , As
I already have datetime field,
I can run the same query on that field to have random effect.
i.e.
MyData.all().filter('date >',create_random_date()).get()
What I want to ask is ,how random the get() method is ?
i.e.
MyData.all().get()
will get me different result each time ?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---