-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Type Overrides in Column Names and Bind Arguments #397
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
Conversation
4c9e9ef
to
c43e169
Compare
a7e2bfd
to
dd49a06
Compare
Testing this out in my project and it seems to be working pretty well! The only trouble I ran into was a nullable bind param. I'm not sure if that falls into the WIP nullable override. If I do Edit: Oh, the other issue is arrays of custom types. I expected |
Can you give the error message you're getting in the second case? |
@abonander for |
Hmm, that's coming from the protocol layer in core:
Unfortunately there's no comment here explaining why they're currently unsupported cough@mehcodecough |
I think we just never really discussed how to represent arrays of user-defined types in the output of |
Custom types in arrays is orthogonal to this pull request. The complicated part is how to do this with We currently have We need like Once we figure out how we're doing that, actually making this work is a 5 line addition to the |
While poking at this today, I noticed that Postgres provides another column in the types table called |
5e99f0f
to
4cf09ba
Compare
@phated sorry try your |
767c89d
to
5ecf81b
Compare
@abonander Sorry for the delay here. I was just able to test |
Hi there, is there a way to use the Ie. I want to avoid having to do |
BASED ON #399
closes #339
TODO:
foo as "foo?"
override (forgot this one)