How big is the datastore?

If it is not very big:
 Perhaps all records have an ID.
 Read al the ID's values in an array. (Then you also know how many
records there are)
 Generate a random number <= amount of IDs.
 Select with the randomk number the ID from the array.
 Get the record.


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to