Advertisement · 728 × 90

Posts by Igal Klebanov 💥 kysely

Preview
Release 0.28.15 · kysely-org/kysely Hey 👋 The introduction of dehydration in JSON functions/helpers caused an unexpected bug for consumers that have some columns defined as '${number}', e.g. '1' | '2' (also when wrapped in ColumnType...

github.com/kysely-org/k...

1 week ago 3 1 0 0

what is the *lowest* typescript version being used in actively developed / maintained projects you own or contribute to?

5.4? 5.2? 5.0? other?

1 week ago 3 1 1 0

me too. gotta find the right price.

3 weeks ago 1 0 0 0

kysely is amazing. the best SQL interface i've ever worked with hands down

4 months ago 9 1 2 0

store it in an environment variable.

4 months ago 1 0 1 0

what genocide?

6 months ago 0 0 0 0

try `kysely-ctl` and mine latest versions. lemme know what you think. 😊

7 months ago 4 1 0 0

there's pronounciation help in the readme.. 🫠

7 months ago 0 0 1 0

separate the art from the artist.

9 months ago 2 0 0 0
Advertisement
Preview
The Copilot Delusion Disclaimer: This post was written May 2025, and the arguments apply to AI code capabilities at this time. The arguments around lack of competence are certainly likely to become less prevalent-while th...

💯
deplet.ing/the-copilot-...

10 months ago 5 0 0 1

100% the neon dude.

10 months ago 5 0 0 0

we have @pkg.pr.new for that. pushing preview builds for PRs, the long-living `next` branch, etc. people can play around with these or the playground.

there were a few times where we rolled back and redesigned an API idea before release. if that would have hit `latest` on `npm` prematurely - ouch.

10 months ago 3 1 0 0

trying to come up with terminology for common typescript hacks in dynamic kysely examples be like:

"now take this floating table and ground it with a static alias that's known at compile-time" 🥴

10 months ago 4 0 0 0

and the equally fun "when are you going to release this?" 🤡

10 months ago 6 0 1 0

prepare for support hours? 😬

10 months ago 0 0 1 0
a screenshot from GitHub showing that `kysely-org/kysely` has reached 12k GitHub stars.

a screenshot from GitHub showing that `kysely-org/kysely` has reached 12k GitHub stars.

f yeah! 🤩

10 months ago 13 1 1 1
Advertisement
Preview
Release v0.13.0 - migrator/seeder factory, lazy resources, sql module. · kysely-org/kysely-ctl Hey 👋 NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW ...

new `kysely-ctl` out.

github.com/kysely-org/k...

10 months ago 4 1 0 0

from a perspective of someone who doesn't read the docs. 🫠

11 months ago 1 0 0 0

it's out!

11 months ago 2 0 0 0
Preview
Release 0.28.2 · kysely-org/kysely Hey 👋 v0.28 broke an undocumented TypeScript behavior our API had that allowed you to pass table name unions to query builders and enable some DRYing of queries. Seeing that this pattern was quite ...

dynamic table values were an undocumented, accidental thing before v0.28.
now they're officially supported in v0.28.2.

please drink lots of water. it's hot outside, and DRY in your codebases now. 🥤

github.com/kysely-org/k...

11 months ago 4 2 0 1
Preview
Release 0.28.0 · kysely-org/kysely Hey 👋 Transactions are getting a lot of love in this one! As part an effort to replace Knex with Kysely, B4nan, the author of mikro-orm drove the new setAccessMode('read only'|'read write') method ...

new me, who this?

github.com/kysely-org/k...

11 months ago 11 1 0 0
Preview
Type-safety with TypeScript ORMs and query builders · thetutlage meta · Discussion #8 Alright, so I maintain a JavaScript ORM called Lucid. Lucid is built on top of knex, which isn't type-safe, and hence, Lucid isn't type-safe either. My gut feeling is that utilizing SQL to its full...

that's more of a comparison between an orm and a query builder. you needed an orm. it's fine.

you were not "holding it right" in some parts, and complaining about sql more than about kysely.

unmatched type-safety.
github.com/thetutlage/m...

1 year ago 1 0 0 0
1 year ago 6 1 1 0

dynasty.

1 year ago 3 0 0 0

omg, so many times.

1 year ago 1 0 0 0

new patch out.

github.com/kysely-org/k...

1 year ago 5 1 0 0
Advertisement

in other words, what are the queries you're gonna execute on this table? what `where`s are you using?

e.g. if all you do is `where a = ?` and `where a = ? and b = ?`, all you need is a composite index `(a,b)`, probably*. 🤞

* - run some `explain`s to see actual query plans to test assumptions.

1 year ago 0 0 1 0

what are the access patterns?

1 year ago 1 0 1 0

query builders to the rescue.

1 year ago 0 0 0 0
Preview
Type-safety with TypeScript ORMs and query builders · thetutlage meta · Discussion #8 Alright, so I maintain a JavaScript ORM called Lucid. Lucid is built on top of knex, which isn't type-safe, and hence, Lucid isn't type-safe either. My gut feeling is that utilizing SQL to its full...

github.com/thetutlage/m...

1 year ago 1 0 0 0