MongoDB update collection using reference collection value
Scenario:
Want to update the field_a1 of collection a with the value of filed_b1 from collection b using connection key field_a2 = filed_b2 with collection a have field flag is set.
Solution:(usin...
原创
2012-07-16 14:20:57 ·
105 阅读 ·
0 评论