-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support ARRAY fields #75
Comments
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. |
I think the current implementation doesn't support yet passing lists as parameters so we can use PostgreSQL Arrays
The text was updated successfully, but these errors were encountered: