LearnBoost/mongoose — Issue #638: Defining self referencing models.
Author: supr
Created: 2011-12-06 02:25:52+00:00
State: open

How can i define a self referencing model.

Example:

Build = {
number : { type: Integer },
previous: { type: Build },
next: { type: Build }
}

or simply put, a linked list of Models?.