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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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