Skip to content

gm3h/sails-firebirdsql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image_squidhome@2x.png

FirebirdSQL Sails/Waterline Adapter

Build Status NPM version Dependency Status

A Waterline adapter for FirebirdSQL. May be used in a Sails app or anything using Waterline for the ORM.

Install

Install is through NPM.

$ npm install sails-firebirdsql

Configuration

The following config options are available along with their default values:

config: {
  database: '/path/to/databaseName',
  host: 'localhost',
  user: 'SYSDBA',
  password: 'masterkey',
  port: 3050
};

Alternatively, you can supply the connection information in URL format:

config: {
  url: 'firebird://username:password@hostname:port/database'
};

Testing

Test are written with mocha. Integration tests are handled by the waterline-adapter-tests project, which tests adapter methods against the latest Waterline API.

To run tests:

$ npm test

About Waterline

Waterline is a new kind of storage and retrieval engine. It provides a uniform API for accessing stuff from different kinds of databases, protocols, and 3rd party APIs. That means you write the same code to get users, whether they live in mySQL, LDAP, MongoDB, or Facebook.

To learn more visit the project on GitHub at Waterline.

About

Waterline adapter for Firebirdsql

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%