When a document contains a reference to another document, the reference should be serialized and deserialized as an api link. The underlying representation in the database should not change. This is impossible for manual references, where the id of the referenced document is simply stored in the document as a field with no specific markup, so this will only be supported for DBRefs. See the mongo docs.
When a document contains a reference to another document, the reference should be serialized and deserialized as an api link. The underlying representation in the database should not change. This is impossible for manual references, where the id of the referenced document is simply stored in the document as a field with no specific markup, so this will only be supported for DBRefs. See the mongo docs.