Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
Kysely Dialect for @std/sqlite
It doesn't support transactions, there's no real way to do them on top of @std/sqlite AFAICT.
import { VtDialect } from "https://esm.town/v/easrng/kyselyVtDialect";
import { Kysely } from "npm:kysely";
const db = new Kysely({
dialect: new VtDialect(),
});
See @easrng/kyselyVtDemo, which uses this along with @easrng/kyselyVtTypes to generate schema types.