I have created a database collection for the author. How can I connect the author database with Course database collection.
const authorSchema = new mongoose.Schema({
name: String,
bio: String,
website: String,
});
const Author = mongoose.model("Author", authorSchema);
const Course = mongoose.model(
"Course",
new mongoose.Schema({
name: String,
author:
})
);