I have a function which returns a SETOF text, currently it is returned with the same name as the function.
Is it possible to alias the result returned?
Using an alias will allow me to map the results to a property using Dapper without the need for a custom mapper class.
I've tried to return a single column table but the performance when doing that is 10X slower.
jsonb_each.keyandjsonb_each.valueinSELECT jsonb_each.* FROM foo, jsonb_each(bar)