Last active
December 16, 2015 11:07
-
-
Save schatekar/e8a6e12bf45e78604051 to your computer and use it in GitHub Desktop.
Multi-model databases
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
//collection- borrowers | |
{ | |
"_id": "some id", | |
"name": "Suhas Chatekar", | |
"borrowed_books": [ | |
{ | |
"_id": "book 1", | |
"name": "Build Single Page Applications with SQL", | |
"author": { | |
"_id": "author 1", | |
"_name": "Chuck Norris" | |
} | |
}, | |
{ | |
"_id": "book 2", | |
"name": "Some other book", | |
"author": { | |
"_id": "author 2", | |
"_name": "Some other author" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment