2 ms·
>Same deal with Postgres. `pg` would not compile at all. Knex also didn't work (this was an older project). You should take a look at Postgres.js [0] which sup
by tauchunfall 4y ago
>Same deal with Postgres. `pg` would not compile at all. Knex also didn't work (this was an older project).
You should take a look at Postgres.js [0] which supports Deno and TypeScript. Version 3.x was released recently and discussed in this HN thread [1].
The client is implemented in JavaScript. Queries can be written using JavaScript template literals.
[0] https://github.com/porsager/postgres https://github.com/porsager/postgres
[1] https://news.ycombinator.com/item?id=30794332 https://news.ycombinator.com/item?id=30794332