I have the following calculation:
calculations do
calculate :trigram, :list, expr(fragment("show_trgm(?)", first_grantee_full_name))
end
This calculation will call show_trgm
which returns an array os strings, but calculate don’t support the list
type, so this calculation doesn’t work. Is there any way for me to write this calculation that would return the correct data?