Does not work with Kysely
thorwebdev opened this issue · 3 comments
thorwebdev commented
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?
thorwebdev commented
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
bombillazo commented
A custom PostgresDriver
for Kysely that implements the Kysely interfaces is needed.
bombillazo commented
Did it work the current driver version?