kysely
kysely copied to clipboard
A type-safe typescript SQL query builder
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) ```
Simple fix to #843. Now javascript sort function is used to both sort the executed migrations and the migrations to be executed. Closes #843
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...
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...
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...
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...
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()...
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...
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...
does what #173 tried to achieve, but in a simpler way as suggested by @koskimas.