K
Kysely11mo ago
oof2win2

Support for D1 batching

Hi. I'm wondering about support for batching statements with Cloudflare's D1 batching, similar to libsql's batching - i.e. multiple statements are sent and processed at once similar to a transaction, except it all occurs within the database driver itself. Can I somehow go about extending kysely or my dialect to add support for this? I.e. some dialect-specific functions i guess?
1 Reply
koskimas
koskimas11mo ago
That's not possible through kysely API and can't be added through a dialect. You can use CTEs through the with method if D1 supports them.
Want results from more Discord servers?
Add your server