Open
Description
Is your feature request related to a problem? Please describe.
We have few usecases where we need to have column as postgresql array and then filter if some item is in the array. If I'm not mistaken the only way we can currently do it in jet is like
postgres.CAST(postgres.Raw("moment.statuses @> #status", postgres.RawArgs{"#status": string(domain.MomentStatusActive)})).AS_BOOL()
Which is not nice.
Describe the solution you'd like
Support array types and array operators as like https://www.postgresql.org/docs/9.1/functions-array.html