NewCollection initializes and returns a new Collection model with the specified type and name.
It also loads the minimal default configuration for the collection (eg. system fields, indexes, type specific options, etc.).
Rest
Generated using TypeDoc
NewCollection initializes and returns a new Collection model with the specified type and name.
It also loads the minimal default configuration for the collection (eg. system fields, indexes, type specific options, etc.).