Connect Loopback to various Data Sources
Go to file
Laurent Villeneuve 0381f6d7e7 Support embedded query in memory connector. Fix memory connector bug
Adds support for the ability to query embedsMany models from the parent.

Fix a memory connector bug that could occur when having an "or" or "and"
clause combined with another property. In that case, the and would revert
true for 'Paul McCartney'

```
{name:'John Lennon',and: [{role:'lead'}, {vip:true}]}}
```
2015-08-18 15:56:36 -04: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 Support embedded query in memory connector. Fix memory connector bug 2015-08-18 15:56:36 -04:00
support Create a script to describe operation hooks 2015-06-10 11:54:54 +02:00
test Support embedded query in memory connector. Fix memory connector bug 2015-08-18 15:56:36 -04:00
.editorconfig minor formatting issues (trailing spaces and such) and .editorconfig 2015-02-03 13:08:23 +03: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 2.37.0 2015-08-14 09:32:18 -07: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 Deprecate Model hooks 2015-02-27 16:58:24 +01:00
NOTICE Add NOTICE 2015-07-18 19:44:46 -07:00
README.md Update README.md 2014-12-01 13:22:24 -08:00
docs.json Enable docs 2015-05-18 09:00:49 -07:00
index.js Add transaction 2015-05-16 11:52:17 -07:00
package.json 2.37.0 2015-08-14 09:32:18 -07: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.