UNPKG

waterline-postgresql

Version:
22 lines (13 loc) 366 B
import {EventEmitter} from 'events' export default class Connection extends EventEmitter { constructor(connection) { super() this.connection = connection // Flag indicating whether the connection is "managed", // and should be released to the pool upon completion this.managed = false } execute() { return this._execute() } }