es6 native

This commit is contained in:
Flummi
2017-12-04 12:22:53 +01:00
parent f6f882586b
commit 6d5b33bed4
42 changed files with 149 additions and 131 deletions

7
src/inc/sql.mjs Normal file
View 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;