-
-
Save amyberman3/9b07ff94031ca2af6694 to your computer and use it in GitHub Desktop.
p3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> db.products.findOne() | |
{ | |
name : 'left-handed smoke shifter', | |
manufacturer : 'Acme Corp', | |
catalog_number: 1234, | |
parts : [ // array of references to Part documents | |
ObjectID('AAAA'), // reference to the #4 grommet above | |
ObjectID('F17C'), // reference to a different Part | |
ObjectID('D2AA'), | |
// etc | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment