loopback-connector-firebird
v0.0.10
Published
FirebirdSQL connector for loopback-datasource-juggler
Downloads
8
Maintainers
Readme
loopback-connector-firebird
loopback-connector-firebird
is the FirebirdSQL connector module for loopback-datasource-juggler.
Installation
npm install loopback-connector-firebird --save
Basic use
To use it you need loopback-datasource-juggler
.
Setup dependencies in
package.json
:{ "dependencies": { "loopback-datasource-juggler": "latest", "loopback-connector-firebird": "latest" }, }
Use:
var DataSource = require('loopback-datasource-juggler').DataSource; var dataSource = new DataSource('firebird', { host: '127.0.0.1', port: 3050, database: 'test.fdb', username: 'SYSDBA', password: 'masterkey', pools: 5 //number of sockets (omit this if you don't want to use pools) });
Test
npm test
Credits
Based on MySQL loopback connector. FirebirdSQL loopback connector uses node-firebird as the driver.