kysely icon indicating copy to clipboard operation
kysely copied to clipboard

A type-safe typescript SQL query builder

Results 204 kysely issues
Sort by recently updated
recently updated
newest added

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') ```...

bug
typescript

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`,...

enhancement
custom dialect
built-in dialect
api
ready for review

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...

enhancement
postgres
api
typescript
waiting for submitter response

## 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...

enhancement
built-in dialect
breaking change
mssql

Hi, this PR adds the functionality to refresh materialized views!

enhancement
postgres
api

Hello! It took me a while to figure out this one, here I hope to make it easier to others.

documentation

Addresses concerns #709 with a plugin.

enhancement
built-in 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...

enhancement
mysql
postgres
built-in dialect
api
mssql

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...

enhancement
migrations

closes #781

enhancement
postgres
api
mssql
oracle