This package has been deprecated

Author message:

package renamed sails-fdbsql

sails-fdb

0.10.4 • Public • Published

FoundationDB SQL Layer Sails/Waterline Adapter

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

Installation is through NPM.

$ npm install sails-fdb

Configuration

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
};

Testing

Test are written with mocha. To run tests:

$ npm test

Contributing

  1. Fork
  2. Branch
  3. Commit
  4. 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.

Contact

License

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.

Package Sidebar

Install

npm i sails-fdb

Weekly Downloads

0

Version

0.10.4

License

MIT

Last publish

Collaborators

  • foundationdb