Open nicksarafa opened 7 years ago
Great mongoose tutorial hither
"Nested schemas are an excellent solution for cases where the nested schema can only exist when it belongs to exactly one of a parent schema"
Look into NodeUnit for mongoose testing. Example here
NodeUnit
Mongoose populate method for nesting Schemas
Great mongoose tutorial hither