loopback-connector-orientdb
v1.0.1
Published
Orientdb connector for loopback
Downloads
5
Readme
loopback-connector-orientdb
loopback-connector-orientdb
is the OrientDB connector module for loopback-datasource-juggler.
Installation
npm install loopback-connector-orientdb --save
Basic use
To use it you need loopback-datasource-juggler
.
Setup dependencies in
package.json
:{ ... "dependencies": { "loopback-datasource-juggler": "latest", "loopback-connector-orientdb": "latest" }, ... }
Use:
var DataSource = require('loopback-datasource-juggler').DataSource; var dataSource = new DataSource('orientdb', { host: 'localhost', port: 3306, database: 'mydb', username: 'myuser', password: 'mypass' });
You can optionally pass a few additional parameters supported by
oriento
,