perl-dbi
v0.6.4
Published
LemonLDAP::NG handler for Node.js
Downloads
17
Readme
perl-dbi
perl-dbi is a wrapper around knex that accept Perl DBI style arguments.
To use it, you should install the related driver:
npm install perl-dbi
npm install pg
# or
npm install mysql
# or
npm install sqlite3
Example:
import PerlDBI from 'perl-dbi';
var conn = new PerlDBI({
dbiChain: 'dbi:Pg:dbname=mydb;host=1.2.3.4',
dbiUser: 'pguser',
dbiPassword: 'pgpassword'
});
then use it like a knex object
perl-dbi is a component of lemonldap-ng-handler, a Node.js handler for LemonLDAP::NG WebSSO.