kysely-org / kysely

A type-safe typescript SQL query builder
https://kysely.dev
MIT License
10.43k stars 266 forks source link

Custom dialect for `bun:sqlite` #705

Open 0xOlias opened 1 year ago

0xOlias commented 1 year ago

Kysely with SQLite on Bun already (kinda) works using the better-sqlite3 driver (installation is still wonky but should be fixed soon). AFAICT bun:sqlite is more performant than better-sqlite3 when using Bun, so it would be great to have a bun:sqlite dialect for Kysely.

I have no experience creating a dialect myself, but I'm guessing it would look similar to this one for deno-sqlite.

igalklebanov commented 1 year ago

Hey 👋

Does this one fit the description?

koskimas commented 1 year ago

@igalklebanov That's a link back to this issue 😄

igalklebanov commented 1 year ago

@koskimas haha fml. edited with the real link. 🙃