Skip to content

Instantly share code, notes, and snippets.

@Bpless
Created February 8, 2012 18:38
Show Gist options
  • Save Bpless/1772013 to your computer and use it in GitHub Desktop.
Save Bpless/1772013 to your computer and use it in GitHub Desktop.
Mapped Collection Example
{
"_id" : {
"set" : ISODate("2012-02-08T18:37:52.191Z"),
"db_key" : "_id"
},
"judge" : {
"set" : ISODate("2012-02-08T18:37:52.191Z"),
"db_key" : "j"
},
"decision" : {
"set" : ISODate("2012-02-08T18:37:52.191Z"),
"db_key" : "d",
"embedded_fields" : {
"guilt" : {
"set" : ISODate("2012-02-08T18:37:52.191Z"),
"db_key" : "g"
},
"details" : {
"set" : ISODate("2012-02-08T18:37:52.191Z"),
"db_key" : "d"
}
}
},
"jury" : {
"set" : ISODate("2012-02-08T18:37:52.191Z"),
"db_key" : "ju"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment