Skip to content

Instantly share code, notes, and snippets.

@Bpless
Created February 8, 2012 18:41
Show Gist options
  • Save Bpless/1772027 to your computer and use it in GitHub Desktop.
Save Bpless/1772027 to your computer and use it in GitHub Desktop.
Changed Mapped Collection Example
{
"_id" : {
"set" : ISODate("2012-02-08T18:37:52.191Z"),
"db_key" : "_id"
},
"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"
}
}
},
"judge" : {
"db_key" : "j",
"set" : ISODate("2012-02-08T18:37:52.191Z"),
"unset" : ISODate("2012-02-08T18:40:41.856Z")
},
"jury" : {
"set" : ISODate("2012-02-08T18:37:52.191Z"),
"db_key" : "ju"
},
"reporter" : {
"set" : ISODate("2012-02-08T18:40:41.856Z"),
"db_key" : "r"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment