Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.69 KB

Database-Support.md

File metadata and controls

31 lines (22 loc) · 1.69 KB

Database Support

Note: You are viewing the Sails.js v0.9.0 documentation. If you're looking for information on v0.8.x, please visit here.

Sails uses Waterline as its ORM, and supports all databases which have waterline adapters:

  • PostgreSQL - 0.9+ compatible - sails-postgresql
  • MySQL - 0.9+ compatible - sails-mysql
  • MongoDB - 0.9+ compatible - sails-mongo
  • Memory - 0.9+ compatible - sails-memory
  • Disk - 0.9+ compatible - sails-disk

Developing Custom Adapters

If the database you need isn't listed above, you can help contribute to an existing project or create your own. Check out https://github.com/balderdashy/sails/wiki/custom-adapters to learn more about that.

In-Progress Community Adapters

Other Community Adapters

Also, adapters are not limited to databases. The Sails.js ORM (Waterline) can be hooked up to communiate with any asynchronous web service! Web services like LDAP, Active Directory, and even things like Twitter and Facebook can be accessed via the ORM through adapters. You can get pretty avante garde here.