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

Postgres has support for `INCLUDE` clauses in `CREATE INDEX`, can this be written in Kysely as well? ```sql CREATE INDEX index_name ON table_name(key_column_list) INCLUDE(included_column_list) ```

enhancement
postgres
api
mssql

Simple fix to #843. Now javascript sort function is used to both sort the executed migrations and the migrations to be executed. Closes #843

bug
postgres
migrations

Have a use case where I need to stop certain columns from transforming to snake case. I've forked the CamelCasePlugin and got the functionality working however to get this to...

question
built-in plugin
custom plugin
api

Currently we can't set a constraint (Unique, FK, etc...) as `[DEFERRABLE | NOT DEFERRABLE] [INITIALLY DEFERRED | INITIALLY IMMEDIATE]` on `ALTER TABLE` nor `CREATE TABLE`. Example: ```sql ALTER TABLE tablename...

enhancement
good first issue
api
greenlit

Hello! Just switched from Prisma and loving the library so far. Just ran into an issue where I'm hoping there's a workaround or I'm doing something wrong. Basically, I have...

enhancement
mysql
api

I have some long-running analytical queries. At some point in the middle of the query running, the end user can express that they're no longer interested in getting more query...

enhancement
custom dialect
built-in dialect
api

Although @koskimas closed #693 as 'wontfix', I'm suggesting a way to disable the behavior of preventAwait, with a small footprint. We often returning non-Promise value in async function or then()...

enhancement
ready for review

closes #761. When using `sql.table`, `eb.table`, `sql.ref` and `eb.ref`, we create `TableNode`s. When executing `sql` template tag queries or parts of queries, any plugins on the db instance are run...

enhancement
built-in plugin
postgres
mssql

Hey :wave: Recently we've added `eb.fn.jsonAgg` and `eb.fn.toJson`. Both accept table names or `sql.table`/`eb.table` as arguments. `WithSchemaPlugin` adds schema names to the arguments, resulting in DB errors. This makes the...

bug
built-in plugin
postgres
ready for review

does what #173 tried to achieve, but in a simpler way as suggested by @koskimas.

enhancement
custom dialect
custom plugin
breaking change