How to use the node-firebird.pool function in node-firebird

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 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 28 days ago

Package Health Score

81 / 100
Full package analysis

Popular node-firebird functions