1. Use 'models' to specify the dependencies to other models 2. The 'models' property is an object, such as: { Model1: 'Model1', Model2: Model2 } 3. The model classes will be injected into the newly defined class as static properties using the keys from the models option. |
||
---|---|---|
docs | ||
examples | ||
lib | ||
support | ||
test | ||
.gitignore | ||
.gitmodules | ||
.jshintignore | ||
.npmignore | ||
.travis.yml | ||
LICENSE | ||
Makefile | ||
README.md | ||
docs.json | ||
index.js | ||
package.json |
README.md
LoopBack DataSource Juggler
LoopBack DataSource Juggler is an ORM that provides a common set of interfaces for interacting with databases, REST APIs, and other data sources. It was initially forked from JugglingDB.
For full documentation, see StrongLoop Suite Documentation.
Installation
npm install loopback-datasource-juggler
Also install the appropriated connector, for example for mongodb:
npm install loopback-connector-mongodb
See StrongLoop Suite Documentation for up-to-date list of connectors supported.