Uwev2/src/inc/sql.mjs

7 lines
156 B
JavaScript
Raw Normal View History

2017-12-04 11:22:53 +00:00
import PG from "pg-promise";
import { default as cfg } from "../../cfg/sql.json";
//const pgp = new PG();
const sql = (new PG())(cfg);
export default sql;