Jak dodać inny model do rodzaju modelu w schemacie MongoDB
items : {
type: [Schema.Types.ObjectId],
ref: 'Item'
}
SHIVAM GOPCHADE
items : {
type: [Schema.Types.ObjectId],
ref: 'Item'
}