You can't beyond 1000.  You will need to keep the total in another
table and update it as the number of rows changes.  So work out how
many you have uploaded and seed that number into the table.

If you don't know how many you uploaded, to find out the number
already in the table you will need to write a task that key only
fetches a thousand, sorting by key. Add the number returned to the
total, and run the task again where key > last_key.  Keep running that
task until you get <1000 back.  Make sure no-one adds any rows while
that is running!

Good luck.

On Oct 4, 3:20 pm, Jaap <[email protected]> wrote:
> I've got a database uploaded to the datastore of around 100,000
> records.
>
> Which GQL statement can I use to obtain the number of rows my database
> has
--~--~---------~--~----~------------~-------~--~----~
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