If your using Java you can create an encoded key by using the KeyFactory class (I don't know the equivalent in Python) and then create a query to just query for the key field (not the entire entity) and see if you get any results back. You want to just query for the key field alone so that it is as fast as possible. I don't know if there is any other way than actually performing a query.
Stephen On Aug 8, 9:04 am, Saqib Ali <[email protected]> wrote: > How do I check if an entity (object) exist in the datastore? I am > using an application generated Unencoded String for the key....... -- 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.
