De https://groups.google.com/forum/#! topic/mongoose-orm/0yUVXNyprx8 :
var Tasks = new Schema();
Tasks.add({
title : String
, subtasks : [Tasks]
});
Entonces necesitas construir la recursividad paso a paso.
De https://groups.google.com/forum/#! topic/mongoose-orm/0yUVXNyprx8 :
var Tasks = new Schema();
Tasks.add({
title : String
, subtasks : [Tasks]
});
Entonces necesitas construir la recursividad paso a paso.