9fd4c00225
When the setting "persistUndefinedAsNull" is true, the model will use `null` instead of `undefined` in all property values. - Known optional model properties are set to `null` when no value was provided. - When setting model properties, `undefined` is always converted to `null`. This applies to both known (model-defined) properties and additional (custom, dynamic) properties. - The instance method `toObject()` converts `undefined` to `null` too. Because `toJSON()` calls `toObject()` under the hood, the change applies to `toJSON()` too. |
||
---|---|---|
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.