Tag Archives: merge

Merge MongoDB Documents in esProc


Problem source:https://groups.google.com/forum/#!topic/mongodb-user/BpgEaRqrKsA . Below is a selection of Collection C1: { “_id” : ObjectId(“55014006e4b0333c9531043e”), “acls” : { “append” : { “users” : [ObjectId(“54f5bfb0336a15084785c393”) ], “groups” : [ ] }, “edit” : { “groups” : [ ], “users” : [ ObjectId(“54f5bfb0336a15084785c392”) ] }, “fullControl” : { “users” : [ ], “groups” : [ ] }, “read” : […]

https://datathinker.wordpress.com/2015/08/10/merge-mongodb-documents-in-esproc/