kysely
kysely copied to clipboard
A type-safe typescript SQL query builder
Hello dear maintainers, I found an incorrect typing in the [Not null](https://kysely.dev/docs/examples/select/not-null) docs: ```ts jsonObjectFrom( eb.selectFrom('pet') // the problem is in this selectAll: .selectAll() .limit(1) .whereRef('person.id', '=', 'pet.owner_id') ).$notNull().as('pet') ```...
closes #257. This PR adds some optional savepoint-related methods to drivers - need to make sure we don't introduce a breaking change here! A new `ControlledTransaction` that allows manual `commit`,...
At least with postgres / pg, it's possible for the value of a field generated by the `max` and `min` functions to be a Date. This PR updates the constraints...
## The problem I was looking through OpenTelemtry traces of an application that uses Kysely with mssql and noticed that for every user created Kysley query, 3 SQL queries get...
Hi, this PR adds the functionality to refresh materialized views!
Hello! It took me a while to figure out this one, here I hope to make it easier to others.
Addresses concerns #709 with a plugin.
- Adds the `onReserveConnection` callback to the Postgres and MySql dialect drivers - This method is called for every connection checkout, regardless if the connection has been seen before or...
Hey :wave: This PR allows passing an optional custom `import` function @ `FileMigrationProvider`. e.g. this would allow consumers to pass a function that uses `tsImport` by `tsx` to import TS...
closes #781