Connect Loopback to various Data Sources
Go to file
CerealGuy 662458dc2c Fix validateNumericality, nullCheck & add tests
validateNumericality didn't test if attributes value is a number
only if it's type is number.
Further nullCheck had a wrong testing order. It first checked if
value is null, later if blank. Also null check only used two equals,
not three. We don't use blank() anymore, testing if variable is
undefined should be fine too.
Added tests covering validateNumericality.
2016-10-15 10:59:22 +02:00
docs Fix for issue #774 2015-11-24 16:50:41 +05:30
examples Fix manually 2016-08-22 19:20:12 -04:00
intl Update ja translation file 2016-10-06 11:26:33 -04:00
lib Fix validateNumericality, nullCheck & add tests 2016-10-15 10:59:22 +02:00
support Fix manually 2016-08-22 19:20:12 -04:00
test Fix validateNumericality, nullCheck & add tests 2016-10-15 10:59:22 +02:00
.editorconfig minor formatting issues (trailing spaces and such) and .editorconfig 2015-02-03 13:08:23 +03:00
.eslintignore Add eslint as "npm run lint" and "posttest" hook 2016-04-05 15:25:34 +02:00
.eslintrc Disable `strict` for a few files 2016-08-26 09:54:31 -04:00
.gitignore Add translation files 2016-09-20 13:34:44 -04:00
.gitmodules Remove unused support/ files 2016-04-05 15:25:34 +02:00
.npmignore kvao: implement key filter 2016-08-18 09:59:56 +02:00
.travis.yml travis: add v4, v6, drop io.js 2016-05-23 11:13:40 +02:00
CHANGES.md 3.0.0 2016-09-22 12:15:54 +02:00
CONTRIBUTING.md Update URLs in CONTRIBUTING.md (#1002) 2016-07-13 17:53:36 -07:00
LICENSE Relicense as MIT only 2016-04-01 15:17:10 -07:00
NOTICE Add NOTICE 2015-07-18 19:44:46 -07:00
README.md Update README.md 2016-01-22 14:10:01 -08:00
docs.json Enable docs 2015-05-18 09:00:49 -07:00
index.js Fix manually 2016-08-22 19:20:12 -04:00
package.json Support {defaultFn: 'shortid'} 2016-09-22 16:07:34 -07:00

README.md

loopback-datasource-juggler

An ORM/ODM that provides a common set of interfaces for interacting with databases, REST APIs, and other types of data sources. It was originally forked from JugglingDB.

Usage

Install Juggler:

npm install loopback-datasource-juggler

Then install a connector:

npm install loopback-connector-mongodb // in this case, the mongodb connector

Documentation

See the official documentation.

Creating data sources programmatically

See Advanced topics: data sources.