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

**Description:** I noticed migrator stores only the migration name into db. Therefore if there's any changes in migrations, you wouldn't notice it in environments where you have ran them already....

enhancement
migrations

Postgresql and mssql support `WITH` clauses for `CREATE INDEX` calls. It would be great for kysely to support these in some way, or at least expose a `modifyEnd` method for...

enhancement
postgres
api
mssql

i was working on a solution for this bug because work on windows and deploy on linux i tested the solution on windows and ubuntu via (vm), works fine but...

Hey 👋 Maybe we should consider publishing to [JSR](https://jsr.io/#why-jsr) as well. Not sure what this requires, I'll dig deeper. Just seems like a good move for the culture/ecosystem to help...

typescript
CI

There doesn't seem to be a way to alter a type after creating it without using raw sql. The following worked fine in a migration for me but it would...

enhancement
good first issue
postgres
api
greenlit

Hi, with this PR i want to add support for INCLUDE clauses in CREATE INDEX for Postgres and SQL Server. closes #869

Hello, I saw the good first issue tag and was interested in giving this a shot. I implemented the `orAbort`, `orFail`, `orIgnore`, etc methods as discussed in #916, alongside making...

enhancement
sqlite
api
waiting for submitter response

Hey 👋 Keeping up with dev dependencies' releases and triggering CI for them will help us catch if Kysely might not work for our users in certain setups, and provide...

ready for review
CI

#780 see sql syntax on PostgreSQL example: https://www.postgresql.org/docs/16/sql-expressions.html#SYNTAX-AGGREGATES

enhancement
mysql
sqlite
postgres
api

Currently `.ignore()` using the SQLite dialect gets translated into `INSERT IGNORE INTO ....` Which doesn't match the SQLite expected `INSERT OR IGNORE INTO` (see [here](https://www.sqlite.org/lang_insert.html))

enhancement
good first issue
sqlite
api
greenlit