Is there a way to get typed results from executing a function on Postgres?
I have a function,
Prefer not to have to do
get_widgets that returns rows. The default signature for rows returned is Record<string, unknown>[] Is there a way to specify the row type without having to cast to unknown first?Prefer not to have to do