-
Notifications
You must be signed in to change notification settings - Fork 49
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
Non-numeric arrays support #58
Comments
Yes, and this should already work; please give me examples where it doesn't and I will attempt to fix any issues :) |
@iamed2 well, here is a very simple reproducible example:
gives a string, which in my case looks like this:
instead of an array of strings. And now, after looking into LibPQ.jl code, I see that numeric arrays are supported. However, string- and other are not, right? |
I've changed the title; currently I support numeric arrays only. I need to add escaping support in order to support text. |
That would be useful indeed. I'm not familiar with the postgres api, does it just return everything as strings and you parse them into whatever datatype? |
Yes, if you use the text format, which I do right now. Lines 268-346 in src/parsing.jl contain the current code for parsing numeric arrays, if you're interested in making a PR. |
Hi! Is it possible to automatically convert postgres arrays to julia arrays? E.g. when there is
array_agg
in the query.The text was updated successfully, but these errors were encountered: