Posts by Igal Klebanov 💥 kysely
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?
me too. gotta find the right price.
kysely is amazing. the best SQL interface i've ever worked with hands down
store it in an environment variable.
what genocide?
try `kysely-ctl` and mine latest versions. lemme know what you think. 😊
there's pronounciation help in the readme.. 🫠
separate the art from the artist.
100% the neon dude.
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.
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" 🥴
and the equally fun "when are you going to release this?" 🤡
prepare for support hours? 😬
a screenshot from GitHub showing that `kysely-org/kysely` has reached 12k GitHub stars.
f yeah! 🤩
from a perspective of someone who doesn't read the docs. 🫠
it's out!
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...
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...
dynasty.
omg, so many times.
new patch out.
github.com/kysely-org/k...
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.
what are the access patterns?
query builders to the rescue.