The FoundationDB SQL Layer is a full SQL implementation built on the FoundationDB storage substrate. It provides high performance, multi-node scalability, fault-tolerance and true multi-key ACID transactions.
This project provides adapter integration for Waterline, the default ORM for Sails.
Installation is through NPM.
$ npm install sails-fdb
The 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.