22 lines
452 B
JavaScript
Raw Normal View History

module.exports = function(client) {
var Pool = require('../../pool');
var inherits = require('inherits');
// Inherit from the `Pool` constructor's prototype.
function Pool_Sqlite3() {
Pool.apply(this, arguments);
}
inherits(Pool_Sqlite3, Pool);
2014-04-09 10:11:41 -04:00
// return {
// max: 1,
// min: 1,
// destroy: function(client) { client.close(); }
// };
// Assign the newly extended `Pool` constructor to the client object.
client.Pool = Pool_Sqlite3;
};