A sails-orientjs adapter for Sails / Waterline
npm install sails-orientjsProvides easy access to sails-orientjs from Sails.js & Waterline.
This module is a Sails/Waterline community adapter. Its goal is to provide a set of declarative interfaces, conventions, and best-practices for integrating with the sails-orientjs database/service.
Strict adherence to an adapter specification enables the (re)use of built-in generic test suites, standardized documentation, reasonable expectations around the API for your users, and overall, a more pleasant development experience for everyone.
To install this adapter, run:
``sh``
$ npm install sails-orientjs
Then connect the adapter to one or more of your app's datastores.
Visit Models & ORM in the docs for more information about using models, datastores, and adapters in your app/microservice.
See Extending Sails > Adapters > Custom Adapters in the Sails documentation, or check out recommended support options.
This adapter implements the following methods:
| Method | Status | Category |
|:---------------------|:------------------|:--------------|
| registerDatastore | _in progress_ | LIFECYCLE |
| teardown | _in progress_ | LIFECYCLE |
| create | Planned | DML |
| createEach | Planned | DML |
| update | Planned | DML |
| destroy | Planned | DML |
| find | Planned | DQL |
| join | _???_ | DQL |
| count | Planned | DQL |
| sum | Planned | DQL |
| avg | Planned | DQL |
| define | Planned | DDL |
| drop | Planned | DDL |
| setSequence | _???_ | DDL |
This sails-orientjs adapter is available under the MIT license.
As for Waterline and the Sails framework? They're free and open-source under the MIT License.