How to use node-firebird - 3 common examples

To help you get started, we’ve selected a few node-firebird examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github steedos / object-server / packages / stimulsoft-report / assets / js / data_adapter / FirebirdAdapter.js View on Github external
var connect = function () {
            Firebird.attach(options, function (error, db1) {
                db = db1;
                if (error) onError(error.message);
                else onConnect();
            });
        }
github totaljs / node-sqlagent / firebird.js View on Github external
callback.call(self, err, null);
            return;
        }

        self.done = function() {
            var self = this;
            self.db.detach();
            return self;
        };

        self.db = db;
        self._prepare(callback);
    };

    if (!pooling) {
        database.attach(self.options, fn);
        return self;
    }

    if (pooling !== null) {
        pooling.get(fn);
        return self;
    }

    pooling = database.pool(self.options.pooling, self.options);
    pooling.get(fn);

    return self;
};
github totaljs / node-sqlagent / firebird.js View on Github external
self.db = db;
        self._prepare(callback);
    };

    if (!pooling) {
        database.attach(self.options, fn);
        return self;
    }

    if (pooling !== null) {
        pooling.get(fn);
        return self;
    }

    pooling = database.pool(self.options.pooling, self.options);
    pooling.get(fn);

    return self;
};

node-firebird

Pure JavaScript and Asynchronous Firebird client for Node.js.

MPL-2.0
Latest version published 5 months ago

Package Health Score

74 / 100
Full package analysis

Popular node-firebird functions