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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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