The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

348164 (1) [Avatar] Offline
#1
Can you please cover Meteor MongoDB objectID, which is a string, vs MongoDB objectID, which is an object? When I seed data through meteor (e.g. via fixture.js), parent-child relationships work. However, when I seed the data directly in MongoDB (meteor mongo), parent-child relationships do not work in meteor even though it works in MongoDB. It looks like meteor is expecting the objectID to be a string. If it's not a string, it will not be able to use the objectID of the parent collection to find the child records. I could not find any info on this on the Web. It would be great if the book covers this topic.
stephan.hochhaus (92) [Avatar] Offline
#2
Good point. I'll see if we can still get it into chapter 4 or if we get it into 10 somehow. But I agree, this is a topic worth mentioning.