On Thu, Oct 29, 2009 at 4:13 PM, Chris Stockton <[email protected]> wrote: > > We intend on possibly naming document properties "#_*" would this > cause future conflicts? Any recommendation for a "private" prefix for > property names within documents? Documents may contain properties that > belong to a user, so we are trying to avoid collisions (or is it best > to separate user named properties within a object in a named property: > i.e.: user_properties: {Field: "foo" ... Field10: "baz"}) ? >
On things that users can supply, I would suggest nesting that within another element in your document, then you don't have to worry about munging any names they supply. Best, Andrew > Regards, > > -Chris > > [1] http://wiki.apache.org/couchdb/Reserved_words >
