Merge pull request #25 from bdunnette/master
Clarify the need for app.model(container)
This commit is contained in:
commit
a64b7a6f7d
|
@ -28,6 +28,8 @@ with the loopback-component-storage connector.
|
||||||
|
|
||||||
var container = ds.createModel('container');
|
var container = ds.createModel('container');
|
||||||
|
|
||||||
|
app.model(container);
|
||||||
|
|
||||||
The following methods are mixed into the model class:
|
The following methods are mixed into the model class:
|
||||||
|
|
||||||
- getContainers(cb): List all containers
|
- getContainers(cb): List all containers
|
||||||
|
|
Loading…
Reference in New Issue