September 2017
Intermediate to advanced
450 pages
11h 24m
English
| Property | Type | Accepts | Description |
| required | any | boolean, function | If true, adds a required validator for this property. |
| default | any | any | Sets a default value for the path. If the value is a function, the return value of the function is used as the default. |
| select | any | boolean | Specifies default projections for queries. |
| validate | any | function | Adds a validator function for this property. |
| get | any | function | Defines a custom getter for this property using Object.defineProperty() |
| set | any | function | Defines a custom setter for this property using Object.defineProperty() |
| alias | any | string | Defines a virtual with the given name that gets/sets this path. |
| index | any | boolean | Whether to define a index on this property. |
| unique ... |
Read now
Unlock full access