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

feat: Kysely Adapter for YDB #332

Open
Gaspero opened this issue Nov 15, 2023 · 0 comments
Open

feat: Kysely Adapter for YDB #332

Gaspero opened this issue Nov 15, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Gaspero
Copy link

Gaspero commented Nov 15, 2023

Feature Request

Describe the Feature Request

Kysely is a database-agnostic query builder, easily extendible for different database dialects. As for now, it is my go-to library for writing database queries NodeJS applications. This is the reason why I tried to implement an adapter myself
I think that many people would profit from using this thin abstraction-layer for easier adoption of ydb in their apps.
This adapter could also provide a way to run migrations for apps that use YDB NodeJS Driver.
Also, it could be used for other purposes - like implementing authentication with auth.js and lucia

Describe Alternatives

I often hear of Drizzle ORM as Kysely alternative, but it is difficult to extend as dialect support is baked in the main repo.

Related Code

https://github.com/Gaspero/kysely-ydb/tree/master

Additional Context

https://kysely.dev/docs/migrations

If the feature request is approved, would you be willing to submit a PR?

Yes

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

No branches or pull requests

1 participant