I think that this "id counts for an entity-group namespace live forever" property should be documented because I suspect that many uses of entity-groups will involve single-use names.
The only reason that I'm not running into it is that I prematurely optimized to a single db.put, which forced me to use explicit key_name s. If I'd gone with multiple db.put s in a transaction, which would have been somewhat simpler, I'd have let the system assign ids within my "use once" entity-groups. Of course, someone will want a way to purge these counts. On Jan 4, 11:37 pm, ryan <[email protected]> wrote: > On Dec 31 2008, 6:49 am, Andy Freeman <[email protected]> wrote: > > If I never allocate ids within a given entity-group namespace, does > > anything for that namespace live forever (after all entities in said > > group have been deleted)? > ... > > The total number of such groups that have entities at any given time > > is fairly modest, but the total number that has existed over the life > > of the application can be fairly large. Thus, if any information > > about these groups "live[s] forever", I may have a problem. > > ah, i understand the motivation now. if you never create any id-based > entities, then no, there's nothing in the entity group that lives > forever. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
