b4189bf997
* Add an optional `options` argument to all CRUD methods (Raymond Feng) * Upgrade deps (Raymond Feng) * Remove workaround for perfomance degradation (Denis Bardadym) * Change equal to eql to support mongodb ObjectID (Raymond Feng) * Enhance the coercion for boolean/date types (Raymond Feng) * Make sure base properties/settings are merged into the submodel (Raymond Feng) * support optimized findOrCreate (Clark Wang) * Fix the perf around should.not.equal for complex objects (Raymond Feng) * testcase for #420 (Andrey Loukhnov) * use findOrCreate in hasOne#create (Clark Wang) * Create model foreign key matching type of opposite part of relation (even if it has a custom field type) (Andrey Loukhnov) * minor formatting issues (trailing spaces and such) and .editorconfig (Andrey Loukhnov) |
||
---|---|---|
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.