Interface: DatoOptions
Options for the Dato
decorator.
Table of contents
Properties
Properties
collection
• Optional
collection: string
The dato collection name at MongoDB.
Defined in
name
• name: string
The dato name, as exposed by GraphQL.
Defined in
outputOnly
• Optional
outputOnly: boolean
Indicates whether this dato contains 'outputOnly' data.
- An 'outputOnly' dato is one that includes 'virtual' data.
- The virtual data is not a simple reflection of the MongoDB document; rather, it results from calculations (e.g. aggregation).