Support ARRAY fields
I think the current implementation doesn't support yet passing lists as parameters so we can use PostgreSQL Arrays
Arrays should work, but I now see we have fewer tests for them than I thought https://github.com/erleans/pgo/blob/main/test/pgo_basic_SUITE.erl#L402
How are you trying to use them? Wondering if its a casting issue.
I'm using it with gleam_pgo, which needs something like a pgo.array so I can pass array parameters when inserting into array fields
Is it that it doesn't work if you give PGO a list, or is it that a list function needs to be added to gleam_pgo? If the latter that can be easily done 👍
Gleam_pgo doen't have a pgo.list() and I don't know if it exists on PGO
PGO doesn't have argument functions as it is dynamically typed, one can pass in any value as an argument. If it's just the Gleam function and PGO supports arrays we can move this issue to the Gleam project or just add that function.