hello everyone, I refer from one collection to another in atlas via ObjectID , but it does not work, what else needs to be done in order to work correctly
Field author in Product schema:
author: {
type: Schema.Types.ObjectId,
ref: 'authors'
},