Hi Saqib, It depends on what your using. If your using Java/JDO, then I can write something up for you. Stephen
On Aug 8, 10:50 am, Saqib Ali <[email protected]> wrote: > Stephen, > > Thanks for the response. Do you have some sample code for this? I have > trying to do exactly this, but can't seem to make it work. I am new to > datastore...... > > saqib > > On Aug 8, 10:35 am, Stephen Johnson <[email protected]> wrote: > > > 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.
