loopback/node_modules/collection/README.md

22 lines
401 B
Markdown

# collection
## About
A `Collection` inherits from the [resource](../resource) class. It provides HTTP access to a supplied [model](../model) instance.
## Config
Supports all configuration of a [resource](../resource).
### Options
#### name (optional)
If defined, overrides the default name (based on the path).
### Dependencies
#### model
Requires a path to an existing model instance.