Kysely v0.29.0
0.29.0
This release introduces several significant features, including `$pickTables` and `$omitTables` for narrowing query scope, a new `ReadonlyKysely<DB>` helper type for compile-time readonly instances, and a new PGlite dialect. Additionally, it adds support for query cancellation and improves type narrowing with `$narrowType`.
Developers using `withTables`, `expression` functions in `create/add index`, or migration exports from the root will need to update their code.
Update code to use `$pickTables`, `$omitTables`, `$extendTables`, `column` and `columns` functions, and migration exports from `kysely/migration`.
const results = await db
.$pickTables<'person' | 'pet'>()
.selectFrom('person')
.innerJoin('pet', 'pet.owner_id', 'person.id')
.selectAll()
.execute()# community_signal
How useful is this release to your stack?
Sign in with GitHub to cast your vote.
You’ll return to this release, then choose your vote.