Go to file
2010-10-19 23:26:25 -05:00
lib start to handle other auth messages 2010-10-19 22:55:26 -05:00
script only list built-in db types 2010-10-17 22:25:05 -05:00
test failing test for password property in config 2010-10-19 23:26:25 -05:00
.gitignore initial commit 2010-09-28 22:09:21 -05:00
README.md updated readme 2010-10-16 19:45:05 -05:00
test-units.js made script to execute all unit tests 2010-10-10 18:50:05 -05:00

#pg.js Pure JavaScript PostgreSQL driver for node.js

ALPHA version

Unlike many githubbers this is my only active project. All my free coding time is to be going towards this until it's production ready and stable so watch the repo and stay tuned.

What works?

var client = new Client({
  username: 'brianc',
  database: 'postgres'
});

client.connect();

client.query('select typname, oid from pg_type');

query.on('row', function(row) {
  console.log('type name: ' + row[0] + ' oid: ' + row[1]);      
};

query.on('end') {
  client.disconnect();
};