i found this
"
q=db.GqlQuery("SELECT * from User where create_date < :1",
"earliest_date")
results = q.fetch(10)
db.delete(results)
"
source :http://code.google.com/appengine/docs/python/datastore/
creatinggettinganddeletingdata.html#Deleting_an_Entity
but it gives me this error:
"NameError: global name 'earliest_date' is not defined"
can anybody give me a clue
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---