DBRefs

18 views
Skip to first unread message

Marcel Timmerman

unread,
Nov 4, 2015, 6:11:22 AM11/4/15
to mongodb-dev
 on the page shown at https://docs.mongodb.org/manual/reference/database-references/ it says in a note

"The order of fields in the DBRef matters, and you must use the above sequence when using a DBRef".

Why is order important? I don't see the mongod server doing anything with DBRef's. The driver must resolve any references to other documents!

Marcel

Marcel Timmerman

unread,
Nov 6, 2015, 10:28:33 AM11/6/15
to mongodb-dev
I've understood from David Golden that the server processes the bson byte array untill the command is found on the first location then the rest is handed over to some other part processing the rest of it..

Reply all
Reply to author
Forward
0 new messages