kysely
kysely copied to clipboard
A type-safe typescript SQL query builder
Some SQL dialects have different ways to start a transaction for write or read-only. I'm writing a driver for SQLite, which has `BEGIN DEFERRED` and `BEGIN IMMEDIATE`. Postgresql and MySQL...
This error happens specifically when connecting to a SQL Server with encryption disabled, without explicity set `encrypt: false` in Tedious. It will results in two separate errors. 1. [ESOCKET] socket...
First off, great library. I can't believe how _few_ corner cases I run into. Really just awesome stuff. Here's the relevant section of a query where I've run into this....
When filtering an enum column, e.g. ```ts interface Database { Pet: { species: "dog" | "cat" | "hamster"; }; } ``` with `"regexp"` or `"like"` ```ts db.selectFrom("Pet") .where("species", "regexp", "ste")...