I have a semi-complex query, and I'm trying to use a case() that includes a when() where the two values are columns (aka the two columns have the same value).
It doesn't seem to be supported, however in theory this should work. Any idea how I can make it work with Kysely?
The
.when("shahz_response", "=", "rank")
.when("shahz_response", "=", "rank")
is where I'm attempting this, but this isn't working
First came Kysely, the type-safe query builder for TypeScript, then came people asking questions, then came the Discord server.Join if you like Kysely or have questions, or both.