All Decorators
This Page shows all the decorators that can be used for / in a class.
- All Property decorators:
@propis the most important decorator, because it defines values(|keys) that are then in the model & document.
- All Class decorators:
@modelOptions, used for Schema Options, an existing Mongoose and an existing Connection@indexis for indexes, that are NOT defined in the prop (mainly for compound indexes)@searchIndexis for defining a search index.@pluginis for adding plugins. Please note that plugins cannot modify the types of prop.@queryMethodis for adding custom query Methods.- Hooks: