Note: You are viewing the Sails.js v0.9.x 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
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.
Also, adapters are not limited to databases. The Sails.js ORM (Waterline) can be hooked up to communicate 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.