{"library":"dogwater","type":"library","category":null,"description":"A hapi plugin integrating Waterline ORM, currently at v2.3.0. It allows defining models, adapters, and connections for Waterline within a hapi server, and provides convenience methods like `server.dogwater()`, `server.collections()`, and `request.collections()` to access Waterline collections. Supports multi-plugin deployments with collision protection. Works with hapi >=10 <17 and waterline >=0.10.0 <0.13.0. Last updated in 2019; no major releases since v2. Alternative to using Waterline standalone with hapi.","language":"javascript","status":"maintenance","version":"2.3.0","tags":["javascript","hapi","plugin","waterline","database","orm"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install dogwater","imports":["const Dogwater = require('dogwater')","server.dogwater({ identity: 'model', connection: 'conn', attributes: {} })","const Cols = request.collections(); const Model = Cols.modelname","const Cols = server.collections(); const Model = Cols.modelname"]},{"cmd":"yarn add dogwater","imports":[]},{"cmd":"pnpm add dogwater","imports":[]}],"homepage":"https://github.com/devinivy/dogwater#readme","github":"https://github.com/devinivy/dogwater","docs":null,"changelog":null,"pypi":null,"npm":"dogwater","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}