Skip to content

Instantly share code, notes, and snippets.

@sonlexqt
Last active April 7, 2016 06:49
Show Gist options
  • Save sonlexqt/6e6ca27ca4a2d82bef1f29b490690c7b to your computer and use it in GitHub Desktop.
Save sonlexqt/6e6ca27ca4a2d82bef1f29b490690c7b to your computer and use it in GitHub Desktop.
// In Folder collection
{
_id: "12345" // This is folderID
}
// In Fields collection
[
{
"realEstate": {
type: Object,
optional: true,
folderId: "12345"
},
"realEstate.tenant": {
type:Object,
optional: true,
folderId: "12345"
},
"realEstate.tenant.basic": {
type: Object,
optional: true,
folderId: "12345"
},
"realEstate.tenant.basic.suite": {
type: Number,
folderId: "12345",
value: 5
},
"realEstate.tenant.basic.name": {
type: String,
folderId: "12345",
value: "Hung Vo"
},
"realEstate.tenant.basic.address": {
type: String,
folderId: "12345",
value: "57 Le Thi Hong Gam, HCMC"
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment