Support embedded 1-1/N-1 fields as nested document

The current embedded 1-1/N-1 field is handled as flat embedding, where each field of the embedded object becomes a field of the owner document. We can also support nested documents in MongoDB, whereby the embedded object is its own document in the datastore within the owner document.

Description

The current embedded 1-1/N-1 field is handled as flat embedding, where each field of the embedded object becomes a field of the owner document. We can also support nested documents in MongoDB, whereby the embedded object is its own document in the datastore within the owner document.

Andy Jefferson added a comment - 08/Feb/11 12:53 PM SVN trunk allows either nested or flat embedding of 1-1/N-1 fields. The default is now nested, but you can have flat embedding by putting the metadata extension "nested" as "false"