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

Add ability to use any kysely dialect #186

Open
ai opened this issue Aug 24, 2024 · 1 comment
Open

Add ability to use any kysely dialect #186

ai opened this issue Aug 24, 2024 · 1 comment

Comments

@ai
Copy link

ai commented Aug 24, 2024

Kysely has a lot of third-party dialects like pglite (useful as in-memory DB for tests or to now run separated DB service during the development).

It would be nice, if we will have JS API to pass dialect as option:

const { dialect } = await KyselyPGlite.create()
await codegen({ dialect })

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@maheshbansod
Copy link

i had the same issue - i forked this and published a version on JSR: https://jsr.io/@maheshbansod/kysely-codegen

not sure if it will work for every case (or your specific case) though - i haven't tested much, just created this to handle postgres issues on Deno

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