Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattaylor/loopback-connector-orientdb
https://github.com/mattaylor/loopback-connector-orientdb
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mattaylor/loopback-connector-orientdb
- Owner: mattaylor
- License: other
- Created: 2015-03-26T22:41:47.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-07T15:13:36.000Z (over 9 years ago)
- Last Synced: 2024-05-16T17:03:50.003Z (6 months ago)
- Language: JavaScript
- Size: 1.3 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
## loopback-connector-orientdb
`loopback-connector-orientdb` is the OrientDB connector module for [loopback-datasource-juggler](https://github.com/strongloop/loopback-datasource-juggler/).
## Installation
````sh
npm install loopback-connector-orientdb --save
````## Basic use
To use it you need `loopback-datasource-juggler`.
1. Setup dependencies in `package.json`:
```json
{
...
"dependencies": {
"loopback-datasource-juggler": "latest",
"loopback-connector-orientdb": "latest"
},
...
}
```2. Use:
```javascript
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`](https://github.com/codemix/oriento),