Hi n8gray,

There's currently no support for an 'exists' operation. A key only query as
bd_ describes would work, but I would expect the execution time for such a
query to be at least as long as a simple get(). Unless your entity is
exceptionally large, a straightforward get() is likely to be only marginally
slower than an 'exists' operation would be.

-Nick Johnson

On Mon, Jun 15, 2009 at 9:42 PM, n8gray <n8g...@gmail.com> wrote:

>
> Hi folks,
>
> Is there a way to find out if a key refers to an entity in the
> datastore without retrieving it?  Something like myKey.exists() would
> be nice, but I don't see it in the docs.
> >
>


-- 
Nick Johnson, App Engine Developer Programs Engineer
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

--~--~---------~--~----~------------~-------~--~----~
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 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to