Collection

Object representing a mongo collection. Create it using manager.get.

A Collection instance has the following methods:

Example

const users = db.get('users', options)

Options

You can set options to pass to every queries of the collection.

users.options = {
  castIds: true
}

results matching ""

    No results matching ""