You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
has anyone continued developing along this line ? are there any tricks for adding arrays with and without refs, because I am still getting an error after adding arrays to models
Let's say I have some schemas:
How can I specify that when I list_populate['things'] that moreThings gets populated as well?
The text was updated successfully, but these errors were encountered: