Thursday, September 22, 2011

Delete entry of Table Entry

To delete all entry for specific Model on Google App Engine use following code:
from google.appengine.ext import db
class Entry(db.Model):
    pass
db.delete(Entry.all().fetch(1000))

No comments:

Post a Comment