On Mon, Jan 06, 2003 at 01:36:52PM -0800, Michael Watkins wrote: > I'm in the middle of trying to transition my mindset away from relational > database-think into ZODB-think. Its tough for me, I've found. Try to forget about queries and think about data structures. > When using ZODB is it a common practice to embed attribute info into a key? I don't think so. > I could imagine something like: > > (date-type-counter) > 20030106-MA-7 > 20030106-MA-8 > 20030107-SD-9 I think I would use multiple mappings rather than embedding information in the key. To keep everything consistent I would write methods for adding (and if necessary removing) documents. Neil