-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
schema for storage? since we are using mongodb, database might get cluttered so we should avoid embedded docs and maintain at most two levels of document depth.
eg
{
"id": 2,
"name" : "test-string",
"time" : "2010-10-08 09:13:42",
"members" : [
"Me",
"you",
"us"
],
"task" : [ // this is the maximum depth
{
id: 3
},
{
id : 2
}
]
}