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, I was wondering if it is possible to express the following query with Kysely: ```sql WITH RECURSIVE blok_search AS ( -- Base case SELECT *, 1 AS Depth FROM...

enhancement
postgres
api

First of all thank you for this great library and support for mssql. You literally saved my life. I'm working with rather huge datasets (3.9M rows joined with other tables)...

Thanks for the amazing project! It is a real pleasure to work with it! I would like to utilize [read-only transactions](https://www.postgresql.org/docs/current/sql-set-transaction.html). Since I normally use the `SERIALIZABLE` transaction isolation level,...

Hey 👋 Knex supports OracleDB with a core dialect. As part of becoming THE "drop-in" replacement for Knex, we should look for the easy wins in getting as close as...

enhancement
built-in dialect
oracle

I have a query pattern that degrades tsc type checking performance to an outsized degree. It involves a nested query in `selectFrom`, and a simple `where` clause. This is my...

typescript
performance issue

Many databases support this shorthand for joins when the column names are the same in both tables. From Postgres docs: > The `USING` clause is a shorthand that allows you...

enhancement
mysql
sqlite
postgres
api

currently, `createTable` has a `temporary` modifier, while `dropTable` does not. while `dropTable` works fine with temporary tables, it would be useful to also add a temporary modifier for the sake...

enhancement
good first issue
mysql
api
greenlit

# Description In versions of kysely < 0.27.2, if migration names have a "-" character (beyond the usual ISO date string), running `migrateToLatest` against a postgres database might fail even...

bug
postgres
migrations

This was a bit surprising, as it shows a type error correctly on `where` comparisons, see this simple example using branded types https://kyse.link/Rbodk (updated the reproduction with whereRef and where)

bug
typescript