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
Earn up to 16% annual interest with Nexo. Icon
Earn up to 16% annual interest with Nexo.

Access competitive interest rates on your digital assets.

Generate interest, borrow against your crypto, and trade a range of cryptocurrencies — all in one platform. Geographic restrictions, eligibility, and terms apply.
Get started with Nexo.
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