Skip to content

Instantly share code, notes, and snippets.

@pkosiec
Created November 1, 2018 22:35
Show Gist options
  • Save pkosiec/ff2eb1cafbc3ab6e98423400e6ff07a8 to your computer and use it in GitHub Desktop.
Save pkosiec/ff2eb1cafbc3ab6e98423400e6ff07a8 to your computer and use it in GitHub Desktop.
MongoDB document definition examples
module.exports = [
{
name: "Dog"
},
{
name: "Cat"
}
]
module.exports = {
name: "Parrot"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment