The answers of systempuntout and Forest are correct - however, you may know that you can also combine some data warehouse operations to improve efficiency (see this App Engine blog post ).
You can modify the systempuntout response as follows:
q = db.GqlQuery("SELECT * FROM Foo") results = q.fetch(10) db.delete(results)
Instead of a two-way transition, one operation is deleted for each item to remove them.
source share