mirror of
https://github.com/knex/knex.git
synced 2025-07-08 17:43:24 +00:00
18 lines
379 B
JavaScript
18 lines
379 B
JavaScript
'use strict';
|
|
|
|
module.exports = function(client) {
|
|
|
|
var Pool = require('../../pool');
|
|
var inherits = require('inherits');
|
|
|
|
// Inherit from the `Pool` constructor's prototype.
|
|
function Pool_PG() {
|
|
this.client = client;
|
|
Pool.apply(this, arguments);
|
|
}
|
|
inherits(Pool_PG, Pool);
|
|
|
|
// Assign the newly extended `Pool` constructor to the client object.
|
|
client.Pool = Pool_PG;
|
|
|
|
}; |