Clarify the need for app.model(container)

This commit is contained in:
Brian Dunnette 2014-09-05 09:42:06 -05:00
parent bdab6788d5
commit a5b557cfd6
1 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,8 @@ with the loopback-component-storage connector.
var container = ds.createModel('container');
app.model(container);
The following methods are mixed into the model class:
- getContainers(cb): List all containers