0.1.0 • Published 5 years ago

sails-restful-adapter v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

sails-rest-adapter

Provides easy access to sails-rest-adapter 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-rest-adapter 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.

Installation

To install this adapter, run:

$ npm install sails-rest-adapter

Then connect the adapter to one or more of your app's datastores.

Usage

Visit Models & ORM in the docs for more information about using models, datastores, and adapters in your app/microservice.

Compatibility

This adapter implements the following methods:

MethodStatusCategory
registerDatastoreDoneLIFECYCLE
teardownDoneLIFECYCLE
createDoneDML
createEachDoneDML
updateDoneDML
destroyDoneDML
findDoneDQL
countPlannedDQL

License

This sails-rest-adapter adapter is available under the MIT license.