Connect Loopback to various Data Sources
Go to file
Miroslav Bajtoš 4304b9a32d Merge tag 'v2.15.0'
2.15.0

 * Fix id type issue for update (Raymond Feng)

 * Rename hook "query" to "access" (Miroslav Bajtoš)

 * Implement intent hook `before delete` (Miroslav Bajtoš)

 * Remove redundant `.toObject()` call from `upsert` (Miroslav Bajtoš)

 * Fix regression in `.save()` from 1fd6eff1 (Miroslav Bajtoš)

 * Fix hasOne remoting (Raymond Feng)

 * Make sure batch create calls back with correct data (Raymond Feng)

 * Intent-based hooks for persistence (Miroslav Bajtoš)

 * ModelBaseClass: implement async observe/notify (Miroslav Bajtoš)

 * Upgrade `should` to the latest 1.x version (Miroslav Bajtoš)

 * Fixed nullCheck in validations to correct behavior when dealing with undefined attributes (James Billingham)

 * Supply target to applyProperties function (Fabien Franzen)

 * fix id property for composite ids (Clark Wang)

 * fix id properties should sort by its index (Clark Wang)

 * Fixed typos and logic for protected properties (Christian Enevoldsen)

 * adds support for protected properties. (Christian Enevoldsen)

 * support embeds data for belongsTo relation Signed-off-by: Clark Wang <clark.wangs@gmail.com> (Clark Wang)
2015-02-02 19:10:45 +01:00
docs Fix jsdoc code examples formatting 2014-01-20 10:47:23 +01:00
examples Add a path to show customer.orders(query, cb) 2014-05-16 08:50:58 -07:00
lib Merge pull request #418 from strongloop/feature/rename-query-to-access-hook 2015-02-02 19:04:47 +01:00
support Fix executable for neo4j travis 2012-03-10 16:31:04 +04:00
test Merge pull request #418 from strongloop/feature/rename-query-to-access-hook 2015-02-02 19:04:47 +01:00
.gitignore Add a file option for the memeory connector to persist data 2014-01-29 12:04:09 -08:00
.gitmodules Added Makefile 2011-11-05 17:54:52 +07:00
.jshintignore Add .jshintignore 2013-11-21 19:05:19 +01:00
.npmignore Ignore npm-debug.log 2013-03-30 21:10:20 +04:00
.travis.yml Add travis 2013-11-08 09:14:25 -08:00
CHANGES.md v2.15.0 2015-02-02 19:10:36 +01:00
CONTRIBUTING.md Fix bad CLA URL in CONTRIBUTING.md 2014-12-29 08:27:46 -08:00
LICENSE Update license to dual MIT/StrongLoop 2014-02-17 15:56:56 -08:00
Makefile Clean up docs 2013-07-22 22:32:05 -07:00
README.md Update README.md 2014-12-01 13:22:24 -08:00
docs.json docs.json: add lib/model.js 2014-12-02 08:28:02 +01:00
index.js replace deprecated function __defineGetter__ 2014-12-28 14:14:12 -07:00
package.json v2.15.0 2015-02-02 19:10:36 +01:00

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.