Why is 1 and 0 are returned as string?
With the following:
I get
I get
isUsed as "1" or "0" whereas I would expect a boolean.isUsed"1""0"isUsed: sql<boolean>`case when ${usedExchanges.data} is not null then 1 else 0 end`