Created
November 10, 2014 11:59
-
-
Save mariuz/f8cb5a7873f5e8044c11 to your computer and use it in GitHub Desktop.
bools works ok with firebird 3.0 in node-firebird
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sys = require("sys") | |
var Firebird = require('node-firebird'); | |
var options = {}; | |
options.host = '127.0.0.1'; | |
options.database = '/tmp/test.fdb'; | |
options.user = 'SYSDBA'; | |
options.password = 'masterkey'; | |
Firebird.attach(options, function(err, db) { | |
if (err) | |
throw err; | |
db.query('SELECT r.SEC$ACTIVE FROM SEC$USERS r', function(err, result) { | |
console.log(sys.inspect(result)); | |
db.detach(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[ { 'sec$active': true } ]