How to Realize One-to-Many in Mongodb? Nesting multiple documents in one document?

  mongodb, question

For example,
I know that a document can be embedded in a document as follows:
Insert (id: 2, by:' test', auther:{name:' Xiao Ming', age:23}})
However, I do not know how to embed more than one, and how to add a sub-document to an existing document. Please ask mongodb to inform me, thank you very much!

  1. Save author as Arrayauthor: [{name: 1},{name:2}]

  2. Mongodb has$pushOperation