The only way is to fetch it. ReferenceProperty doesn't care about whether the referenced entity is exist, it just stores a Key object.
---------- keakon On Tue, Oct 26, 2010 at 11:40 PM, Tapir <tapir....@gmail.com> wrote: > I want to check whethor or not a reference id is invalid by comparing > it with a zero. > Works? > > -- > 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.