mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-25 16:03:13 +00:00
17 lines
298 B
JavaScript
17 lines
298 B
JavaScript
Client = require(__dirname+'/../../lib/client');
|
|
sys = require('sys');
|
|
|
|
//creates a configured, connecting client
|
|
var client = function() {
|
|
var client = new Client({
|
|
database: 'postgres',
|
|
user: 'brian'
|
|
});
|
|
client.connect();
|
|
return client;
|
|
};
|
|
|
|
module.exports = {
|
|
client: client
|
|
};
|