On Nov 6, 9:39 am, yejun <[EMAIL PROTECTED]> wrote:
> On Nov 6, 12:13 pm, Andy Freeman <[EMAIL PROTECTED]> wrote:
>
> > Can't this be done with a carefully constructed key_name?
>
> There's a couple differences.
> Unique key means throw exception on duplication. Save duplicated
> key_name will cause overwritten. You have to use get_or_insert to test
> uniqueness and avoid overwriting.
> You can not use inequality filter on key_name.

So use get_or_insert and put the key name in the object so you can
filter on it.  (You have the key name when you're doing the
get_or_insert....)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to