Skip to content

Question: Nested refs #112

@bstahlhood

Description

@bstahlhood

Let's say I have some schemas:

var aSchema = new Schema({
    things: [{type: Schema.Types.ObjectId, ref: 'B'}]
}

var bSchema = new Schema({
    moreThings: [{type: Schema.Types.ObjectId, ref: 'C'}]
}

var cSchema = new Schema({
    /// fields here
}

How can I specify that when I list_populate['things'] that moreThings gets populated as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions