sql template string always returns string value
addDate: sql<number>
cast
(UNIX_TIMESTAMP(${schema.domain.addDate}) as signed)
,
Hi,I have this in a select query but it always returns a string value "1695371020" even though it should be a number. Is there a way to get around it? Im using planetscale.2 Replies