Waterline is a next-generation storage and retrieval engine and the default ORM used in the Sails framework. Current stable version is 0.13.x (not published on npm as a standalone package with version 0.0.7 which is an abandoned fork). It provides a uniform API for accessing different databases (MySQL, PostgreSQL, MongoDB, Redis, etc.) via adapters. Key differentiators include promise/async-await support (no callbacks since v0.13), a modular adapter system, and consistency across adapters. Release cadence is tied to Sails.js major releases. Originally developed by Balderdashy, now maintained by the Sails community. This specific npm package 'water-orm' version 0.0.7 is a monolith fork of Waterline and is likely unstable/abandoned.
npm install water-ormNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to initialize Waterline with an in-memory disk adapter, define a model, and create a record.
Replace callbacks with async/await or promises.
See upgrade guide at http://sailsjs.com/documentation/upgrading/to-v-1-0.
Ensure adapter package is installed and passed in the 'adapters' config.
Use the official 'waterline' package instead.
Use waterline.registerModel() with a Model class; or use the new API via Waterline.Collection.
Install and configure an adapter (e.g., 'sails-disk') and pass it in the 'adapters' object.
Use default import: import Waterline from 'waterline'.
No dependency data recorded yet.