0.15.2 • Published 1 year ago

waterline v0.15.2

Weekly downloads
29,597
License
MIT
Repository
github
Last release
1 year ago

Master Branch Build Status Master Branch Build Status (Windows) StackOverflow (waterline) StackOverflow (sails)

Waterline is a next-generation storage and retrieval engine, and the default ORM used in the Sails framework.

It provides a uniform API for accessing stuff from different kinds of databases and protocols. That means you write the same code to get and store things like users, whether they live in MySQL, MongoDB, neDB, 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.

No more callbacks

Starting with v0.13, Waterline takes full advantage of ECMAScript & Node 8's await keyword.

In other words, no more callbacks.

var newOrg = await Organization.create({
  slug: 'foo'
})
.fetch();

Looking for the version of Waterline used in Sails v0.12? See the 0.11.x branch of this repo. If you're upgrading to v0.13 from a previous release of Waterline standalone, take a look at the upgrading guide.

Installation

Install from NPM.

  $ npm install waterline

Overview

Waterline uses the concept of an adapter to translate a predefined set of methods into a query that can be understood by your data store. Adapters allow you to use various datastores such as MySQL, PostgreSQL, MongoDB, Redis, etc. and have a clear API for working with your model data.

Waterline supports a wide variety of adapters, both core and community maintained.

Usage

The up-to-date documentation for Waterline is maintained on the Sails framework website. You can find detailed API reference docs under Reference > Waterline ORM. For conceptual info (including Waterline standalone usage), and answers to common questions, see Concepts > Models & ORM.

Help

Check out the recommended community support options for tutorials and other resources. If you have a specific question, or just need to clarify how something works, ask for help or reach out to the core team directly.

You can keep up to date with security patches, the Waterline release schedule, new database adapters, and events in your area by following us (@sailsjs) on Twitter.

Bugs   NPM version

To report a bug, click here.

Contribute

Please observe the guidelines and conventions laid out in our contribution guide when opening issues or submitting pull requests.

Tests

All tests are written with mocha and should be run with npm:

  $ npm test

License

MIT. Copyright © 2012-present Mike McNeil & The Sails Company

Waterline, like the rest of the Sails framework, is free and open-source under the MIT License.

image_squidhome@2x.png

0.15.2

1 year ago

0.15.1

2 years ago

0.15.0

3 years ago

0.14.0-5

4 years ago

0.14.0-4

4 years ago

0.14.0-3

5 years ago

0.14.0-2

5 years ago

0.14.0-1

5 years ago

0.14.0-0

5 years ago

0.13.7-2

5 years ago

0.13.7-0

5 years ago

0.13.6

5 years ago

0.13.5

6 years ago

0.13.5-2

6 years ago

0.13.5-1

6 years ago

0.13.5-0

6 years ago

0.13.4

6 years ago

0.13.3

6 years ago

0.13.2

6 years ago

0.13.1

6 years ago

0.13.1-9

6 years ago

0.13.1-8

7 years ago

0.13.1-7

7 years ago

0.13.1-6

7 years ago

0.13.1-5

7 years ago

0.13.1-4

7 years ago

0.13.1-3

7 years ago

0.11.12

7 years ago

0.13.1-2

7 years ago

0.13.1-1

7 years ago

0.13.1-0

7 years ago

0.13.0-rc12

7 years ago

0.13.0-rc11

7 years ago

0.13.0-rc10

7 years ago

0.13.0-rc9

7 years ago

0.13.0-rc8

7 years ago

0.13.0-rc7

7 years ago

0.13.0-rc6

7 years ago

0.11.11

7 years ago

0.13.0-rc5

7 years ago

0.11.10

7 years ago

0.13.0-rc4

7 years ago

0.13.0-rc3

7 years ago

0.13.0-rc2

7 years ago

0.13.0-rc1

7 years ago

0.13.0-7

7 years ago

0.11.9

7 years ago

0.13.0-6

7 years ago

0.13.0-5

7 years ago

0.13.0-parley2

7 years ago

0.13.0-parley

7 years ago

0.13.0-4

7 years ago

0.11.8

7 years ago

0.11.7

7 years ago

0.11.7-1

7 years ago

0.13.0-3

7 years ago

0.13.0-2

7 years ago

0.11.7-0

7 years ago

0.11.6

7 years ago

0.11.5

7 years ago

0.11.4

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.1

8 years ago

0.12.2

8 years ago

0.11.3

8 years ago

0.12.1

8 years ago

0.11.2

8 years ago

0.12.0

8 years ago

0.11.1

8 years ago

0.11.0

8 years ago

0.10.31

8 years ago

0.10.30

8 years ago

0.10.29

8 years ago

0.10.28

8 years ago

0.10.27

8 years ago

0.10.26

9 years ago

0.10.25

9 years ago

0.10.24

9 years ago

0.10.23

9 years ago

0.10.22

9 years ago

0.10.22-rc1

9 years ago

0.10.21

9 years ago

0.10.20

9 years ago

0.10.19

9 years ago

0.10.18

9 years ago

0.10.17

9 years ago

0.10.16

9 years ago

0.10.15

9 years ago

0.10.14

9 years ago

0.10.13

9 years ago

0.10.12

10 years ago

0.10.11

10 years ago

0.10.10

10 years ago

0.10.9

10 years ago

0.10.8

10 years ago

0.10.7

10 years ago

0.10.6

10 years ago

0.10.5

10 years ago

0.10.4

10 years ago

0.10.3

10 years ago

0.10.2

10 years ago

0.10.1

10 years ago

0.10.0-rc15

10 years ago

0.10.0-rc14

10 years ago

0.10.0-rc13

10 years ago

0.10.0-rc12

10 years ago

0.10.0-rc11

10 years ago

0.10.0-rc10

10 years ago

0.10.0-rc9

10 years ago

0.10.0-rc8

10 years ago

0.10.0-rc7

10 years ago

0.9.16

10 years ago

0.10.0-rc6

10 years ago

0.9.15

10 years ago

0.10.0-rc5

10 years ago

0.9.14

10 years ago

0.10.0-rc4

10 years ago

0.9.13

10 years ago

0.9.12

10 years ago

0.10.0-rc3

10 years ago

0.10.0-rc2

10 years ago

0.10.0-rc1

10 years ago

0.9.11

10 years ago

0.9.10

10 years ago

0.9.9

10 years ago

0.9.8

10 years ago

0.9.7

10 years ago

0.9.6

11 years ago

0.9.5

11 years ago

0.9.4

11 years ago

0.9.3

11 years ago

0.9.2

11 years ago

0.9.1

11 years ago

0.9.0

11 years ago

0.6.1

11 years ago

0.6.0

11 years ago

0.5.2

11 years ago

0.5.1

11 years ago

0.5.0

11 years ago

0.4.7

11 years ago

0.4.6

11 years ago

0.4.5

11 years ago

0.4.4

11 years ago

0.4.2

11 years ago

0.4.1

11 years ago

0.4.0

11 years ago

0.3.0

11 years ago

0.2.0

11 years ago

0.1.6-0

11 years ago

0.1.5-1

11 years ago

0.1.5

11 years ago

0.1.04

11 years ago

0.1.03

11 years ago

0.1.01

11 years ago

0.1.0

11 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5205

11 years ago

0.0.5204

11 years ago

0.0.5202

11 years ago

0.0.5201

11 years ago

0.0.52

11 years ago

0.0.51

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago

0.0.0

11 years ago