The FoundationDB SQL Layer is a fault-tolerant and scalable open source RDBMS, best suited for applications with high concurrency and short transactional workloads.
This project provides adapter integration for Waterline, the default ORM for Sails.
Adapted from the Waterline PostgreSQL adapter.
Installation is through NPM.
$ npm install sails-fdbsqlThe following config options are available along with their default values:
config: {
database: 'databaseName',
host: 'localhost',
user: 'root',
password: '',
port: 15432,
pool: false,
ssl: false
};Alternatively, you can supply the connection information in URL format:
config: {
url: 'fdb://username:password@hostname:port/database',
pool: false,
ssl: false
};Test are written with mocha. To run tests:
$ npm test- Fork
- Branch
- Commit
- Pull Request
If you would like to contribute a feature or fix, thanks! Please make
sure any changes come with new tests to ensure acceptance. Please read
the RUNNING_UNIT_TESTS.md file for more details.
- GitHub: http://github.com/FoundationDB/sql-layer-adapter-sails
- Community: http://community.foundationdb.com
- IRC: #FoundationDB on irc.freenode.net
The MIT License (MIT)
Copyright (c) 2013-2014 FoundationDB, LLC
It is free software and may be redistributed under the terms specified in the LICENSE file.