Just a note, if you only want to delete entities you do not even need to fetch them first. Just generate a list of keys and pass them to delete.
keys_to_delete = [Key('MyModel', i) for i in xrange(10)] db.delete(keys_to_delete) That will save you a fetch, improving performance quite a bit. Robert On Thu, Aug 19, 2010 at 03:51, TZ <zam...@googlemail.com> wrote: > Thank you!. It works with "WHERE __key__ = Key('board_topic_entry', > 20)". > > :-) > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appeng...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.