About the return value of mongoose populate

Story
.findOne({ title: "Bob goes sledding" })
.populate("author")
.exec(function (err, story) {
  if (err) return handleError(err);
  console.log("The author is %s", story.author.name);
  // prints "The author is Bob Smith"
});

here we already know that there is only one author in a book, so this is not the way to write
[{type: Schema.Types.ObjectId, ref: "Author"}]

of schema when giving the author ID.

var storySchema = Schema({
  author : { type: Schema.Types.ObjectId, ref: "Author" },
  title    : String
});

suppose there are multiple authors in a book first, and change schema to

.
var storySchema = Schema({
  author : [{ type: Schema.Types.ObjectId, ref: "Author" }],
  title    : String
});

so when I execute the following code, is the story.author in the return function an array containing the author?

Story
.findOne({ title: "Bob goes sledding" })
.populate("author")
.exec(function (err, story) {
  if (err) return handleError(err);
  console.log("The author is %s", story.author.name);
  // prints "The author is Bob Smith"
});
Feb.28,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e45d40-44b74.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e45d40-44b74.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?