denodrivers/postgres

Does not work with Kysely

thorwebdev opened this issue · 3 comments

I was trying to make this work with Kysely, which is built around node-postgres but it looks like the API differs quite significantly, mainly in that no query method exists on the PoolClient.

I was a little confused by that, because this repo states

deno-postgres is being developed based on excellent work of node-postgres and pq.

Anyone happen to know a way to make deno-postgres work with Kysely?

Okay, looks like https://github.com/barthuijgen/kysely-deno-postgres is what I'm looking for. I had to make some changes to it thought to make it work: barthuijgen/kysely-deno-postgres#2