CASE with subquery clause
How can I return the column value from the subquery in a CASE? With this example, Kysely thinks the second condition is
{ name: string }:SelectQueryBuilder<DB, TB, Record<string, T>>R[keyof R]export type ExtractTypeFromValueExpression<VE> =
VE extends SelectQueryBuilderExpression<Record<string, infer SV>>
? SV
: VE extends Expression<infer V>
? V
: VE