On Thu, Oct 22, 2009 at 4:33 PM, ryan baldwin <[email protected]> wrote:

> How is this affected when you copy your data from 1 app to another (say,
> PROD app to an internal UAT version of the app)?
>

Well, since you're copying data and not allocating IDs, the ID counters
remain unchanged. Currently, you'll need to call allocate_ids in the
destination app to ensure IDs that already exist in your data aren't
overwritten again. In future, the bulkloader may do this for you.

-Nick Johnson


> Thanks.
>
> - ryan.
>
>
> On Thu, Oct 22, 2009 at 6:35 AM, Nick Johnson (Google) <
> [email protected]> wrote:
>
>> Hi Ryan,
>> IDs allocated with allocate_ids will never be reused - the functionality
>> is equivalent to the numbering for auto-generated IDs on entities.
>>
>> -Nick Johnson
>>
>>
>> On Wed, Oct 21, 2009 at 9:47 PM, ryan baldwin <[email protected]>wrote:
>>
>>> How long are id's reserved for when using db.allocate_ids? Forever? 60
>>> seconds? Until I eat all of my dinner including my vegetables?
>>> Thanks.
>>>
>>> - ryan.
>>>
>>>
>>>
>>
>>
>> --
>> Nick Johnson, Developer Programs Engineer, App Engine
>> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
>> 368047
>>
>>
>>
>
> >
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine
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 [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