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!
Save author as Array
author: [{name: 1},{name:2}]
Mongodb has$pushOperation