Understanding Paths

Mongoose uses the term path to define access paths to fields in a main document as well as subdocuments. For example, if a document has a field named name, which is a subdocument with title, first, and last properties, the following are all paths:

name
name.title
name.first
name.last

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset