Hi Marzia, >You can now delete an entity directly using its key, without >instantiating/fetching the Model object
Good. Will this be documented? What happens is I pass non-existing key? On SDK the non-existing keys seem to be simply ignored. However the documentation suggest an exception will be raised (it also says an exception will be raised if the call span multiple entity groups!). I'm also concerned about the performance of this deletion. I have a list of keys to delete. Only about 25% of those keys really exist in the datastore. Right now I delete them with the following code: -------- deleteModels = db.get( deleteKeys ) deleteModels = [k for k in deleteModels if k] db.delete( deleteModels ) -------- Now with version 1.1.7, I want to replace this with the following: -------- db.delete( deleteKeys ) -------- This code works, but works significantly slower (4 times) that the previous code with preliminary db.get(). It looks like deleting non- existing records take the same amount of time as deleting an existing record. Is this the SDK issue, or the production will also have such an issue? Denis --~--~---------~--~----~------------~-------~--~----~ 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-appengine@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---