-
Why not simply use [pg-promise](https://github.com/vitaly-t/pg-promise) that already has all of it, and much more?
-
-
预览失败 TypeError: n.item.url.replace is not a function
at Proxy. (chunk-vendors.js:35455:114)
at pages-fileyl-fileyl.js:1027:491762
at new Promise ()
at pages-fileyl-fileyl.js:1027:4…
-
I saw the way you used database connection recently:
``` js
this.listenClient = new pg.pg.Client(config.db);
this.listenClient.connect((err, client) => {
```
and I finally decided to mak…
-
Have you seen [pg-promise](https://github.com/vitaly-t/pg-promise)? It can do all that already, and much more ;)
-
I'm using sql-bricks together with pg-promise (in fact I'm using sql-bricks-postgres, but the issue is in sql-bricks) which supports named parameters via a $[name]-syntax. So I tried using `sql('$[nam…
-
```
pgp().pg.types.setTypeParser(20, parseInt);
```
this code will result in wrong detection of already applied migrations.
The reason, i guess, is that id column has `BigInt` type, and gets…
-
must-read for integration: https://github.com/vitaly-t/pg-promise/wiki/integration
-
Looks like `pg` now supports Promises, as well as Callbacks:
https://node-postgres.com/features/queries
Can we remove `pg-promise`? Students in FACN7 found this syntax confusing anyway:
```js
…
-
I use sqlfmt for all my dbt projects. Thank you @tconbeer for creating this wonderful tool!
It would be great if sqlfmt could also support this:
```
select * from users where id = ${id}
```
[Do…