Skip to content

Instantly share code, notes, and snippets.

@vdaubry
Last active August 29, 2015 14:05
Show Gist options
  • Save vdaubry/cdc465d6d5ef84576830 to your computer and use it in GitHub Desktop.
Save vdaubry/cdc465d6d5ef84576830 to your computer and use it in GitHub Desktop.
Document correctly embedded
{
"_id":{
"$oid":"54033bf96d627008c6000000"
},
"websites":[
{
"_id":{
"$oid":"54033bf96d627008c6010000"
},
"created_at":"2014-08-31T15:15:05.278Z",
"posts":[
{
"_id":{
"$oid":"54033bf96d627008c6020000"
},
"created_at":"2014-08-31T15:15:05.293Z",
"images":[
{
"_id":{
"$oid":"54033bf96d627008c6040000"
},
"created_at":"2014-08-31T15:15:05.296Z",
"updated_at":"2014-08-31T15:15:05.296Z"
}
],
"updated_at":"2014-08-31T15:15:05.293Z"
},
{
"_id":{
"$oid":"54033bf96d627008c6030000"
},
"created_at":"2014-08-31T15:15:05.295Z",
"images":[
{
"_id":{
"$oid":"54033bf96d627008c6050000"
},
"created_at":"2014-08-31T15:15:05.297Z",
"updated_at":"2014-08-31T15:15:05.297Z"
}
],
"updated_at":"2014-08-31T15:15:05.295Z"
}
],
"updated_at":"2014-08-31T15:15:05.278Z"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment