Best practice for migrating from array of Embedded Documents to an array of Object Refs

13 views
Skip to first unread message

Travis Choma

unread,
Oct 6, 2014, 11:52:43 AM10/6/14
to mongoo...@googlegroups.com
I currently have an array of embedded documents in one of my schemas and it turns out it would have been better to have it as object refs. How can I make the change and migrate existing documents so that the array is converted from embedded docs to object refs for the existing data?


Reply all
Reply to author
Forward
0 new messages