es6 native
This commit is contained in:
7
src/inc/sql.mjs
Normal file
7
src/inc/sql.mjs
Normal file
@@ -0,0 +1,7 @@
|
||||
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;
|
Reference in New Issue
Block a user