d5e71f1157
* Fix the idType so that it works with both MongoDB and RDBs (Raymond Feng) * Tidy up tests so that they will work with RDBs (Raymond Feng) * Fix JS style issues (Raymond Feng) * Add a new property option `defaultFn` (Miroslav Bajtoš) * Fix the null/undefined check (Raymond Feng) * Fix createdAt type so that it won't overflow SQL server int (Raymond Feng) * ModelBaseClass: promise mode for notifyObserversOf (Miroslav Bajtoš) * ModelBaseClass: support promise-based observers (Miroslav Bajtoš) * use lodash to update the findBelongsTo which now returns an array of matches (Bryan Clark) * Add $now as shortcut default value for date property (Pradnya Baviskar) * Fix `deleteById(id)` and other test failures (Miroslav Bajtoš) |
||
---|---|---|
docs | ||
examples | ||
lib | ||
support | ||
test | ||
.editorconfig | ||
.gitignore | ||
.gitmodules | ||
.jshintignore | ||
.npmignore | ||
.travis.yml | ||
CHANGES.md | ||
CONTRIBUTING.md | ||
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 the official StrongLoop documentation: Connecting models to data sources
For information on creating data sources programmatically, see Advanced topics: data sources.
Installation
npm install loopback-datasource-juggler
Also install the appropriated connector, for example for mongodb:
npm install loopback-connector-mongodb
See StrongLoop Documentation for more information.