It provides a uniform API for accessing stuff from different kinds of databases, protocols, and 3rd party APIs. That means you write the same code to get and store things like users, whether they live in Redis, mySQL, LDAP, MongoDB, or Postgres. Waterline strives to inherit the best parts of ORMs like ActiveRecord, Hibernate, and Mongoose, but with a fresh perspective and emphasis on modularity, testability, and consistency across adapters. Sails comes installed with a powerful ORM/ODM called Waterline, a datastore-agnostic tool that dramatically simplifies interaction with one or more databases. It provides an abstraction layer on top of the underlying database, allowing you to easily query and manipulate your data without writing vendor-specific integration code. Waterline query syntax floats above all that, focusing on business logic like creating new records, fetching/searching existing records, updating records, or destroying records.

Features

  • No matter what database you're contacting, the usage is exactly the same
  • Waterline allows you to .populate() associations between models
  • You can switch your app's models from Mongo, to PostgreSQL, to MySQL and back again
  • Useful for the times when you need low-level, database-specific functionality
  • Provides a query interface that allows you to talk directly to your models' underlying database driver
  • Starting with v0.13, Waterline takes full advantage of ECMAScript & Node 8's await keyword

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow waterline

waterline Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of waterline!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Object-Relational Mapping (ORM) Software

Registered

2021-10-12