Re: [google-appengine] id instead of key - implications, beyond

2011-04-02 Thread Robert Kluin
Hi John,
  So you are storing the integer id of your keys, then you reconstruct
the key to fetch the entity?  You should be OK since the key id or
name will be preserved when your data is transfered.

  Storing the key can be useful if you are using namespaces, since the
key includes the namespace.  It can also be useful if you are using
entity groups, since the key stores the entity's entire path.



Robert






On Fri, Apr 1, 2011 at 18:23, Joops  wrote:
> Hello all,
>
> I am currently using Id's instead of keys for references.
> (as I would not make use of the back references)
>
> I have already read that the automated data store copier needs
> references (as keys get regenerated, so it needs to rebuild the
> relationships).
>
> Are there any other downsides?
>
> Thanks very much
>
> J.
>
> --
> 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.
>
>

-- 
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.



[google-appengine] id instead of key - implications, beyond

2011-04-01 Thread Joops
Hello all,

I am currently using Id's instead of keys for references.
(as I would not make use of the back references)

I have already read that the automated data store copier needs
references (as keys get regenerated, so it needs to rebuild the
relationships).

Are there any other downsides?

Thanks very much

J.

-- 
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.