loopback/node_modules/collection/README.md

22 lines
401 B
Markdown
Raw Normal View History

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