Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with Kysely #425

Open
thorwebdev opened this issue Apr 19, 2023 · 3 comments
Open

Does not work with Kysely #425

thorwebdev opened this issue Apr 19, 2023 · 3 comments

Comments

@thorwebdev
Copy link

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
Copy link
Author

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
Copy link
Collaborator

bombillazo commented Feb 6, 2024

A custom PostgresDriver for Kysely that implements the Kysely interfaces is needed.

@bombillazo
Copy link
Collaborator

bombillazo commented Feb 16, 2024

Did it work the current driver version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants