google app engine - How to bulk delete by keys with python and appengine? -



google app engine - How to bulk delete by keys with python and appengine? -

is next solution work in case of 10000+ items ?

q = db.gqlquery('select __key__ event date_create < [date(2012, 1, 23)]') db.delete(q)

what right solution mass delete ?

as shown in implementation, datastore module batch multiple delete rpcs if number of keys > max_delete_keys (500).

you should in task queue might take more 60s, , trigger deadlineexceededexception.

python google-app-engine

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -