mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
10 lines
194 B
JavaScript
10 lines
194 B
JavaScript
const pg = require('pg');
|
|
|
|
function PgWrapper() {
|
|
this.pool = new pg.Pool({});
|
|
}
|
|
|
|
PgWrapper.prototype.query = function (query, params, cb) {
|
|
this.pool.query(query, params || [], cb);
|
|
};
|