Skip to content

Instantly share code, notes, and snippets.

@mariuz
Created May 8, 2014 15:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mariuz/bc33c8e76d7671ea04f9 to your computer and use it in GitHub Desktop.
Save mariuz/bc33c8e76d7671ea04f9 to your computer and use it in GitHub Desktop.
database.detach() node-firebird example
fb = require("node-firebird");
fb.attach(
{
host: 'localhost',
database: '/tmp/firedjango.fdb',
user: 'SYSDBA',
password: '*********'
},
function(err, db){
if (err) {
console.log(err.message);
} else {
database = db;
console.log("connected");
database.detach();
}
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment