How to use the tedious.Connection.prototype function in tedious

To help you get started, we’ve selected a few tedious 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 tediousjs / tedious-connection-pool / lib / pooled-connection.js View on Github external
function PooledConnection(connectionPool, config) {
    var self = this;

    this.connectionPool = connectionPool;
    this.isEnded = false;, config);

    this.on('end', function () {
        self.isEnded = true;

PooledConnection.prototype = Object.create(Connection.prototype);

PooledConnection.prototype.release = function () {

module.exports = PooledConnection;