Is custom mapping possible with Drizzle?
I'm trying to select from the mentioned table but instead of
I would like to get this result:
but I get this TS error:
Object literal may only specify known properties, and 'value' does not exist in type 'SQL<unknown> | Aliased<unknown> | PgColumn<ColumnBaseConfig<ColumnDataType, string>, {}, {}>'
is there a solution for that or should I do the mapping after the query?0 Replies