You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
First of all, thank you very much for this amazing library. I have been using it for a week or so, and I found it to be very useful and very quick to get used to.
I am still facing a weird issue when doing selects using goqu.I("column").IsNull(). If the query is Prepared(true) then this would generate a following condition: "column" IS $1 and that is not allowed in different databases. I didnt get it to work with psql.
I think this, although is prepared, could keep the IS NULL as this is not really a parameter.
The text was updated successfully, but these errors were encountered:
I agree it seems we handle that for TRUE and FALSE but not NULL if you want to open a PR that would be great not sure when Ill have time to get to this.
@doug-martin I opened a pull-request for this. I updated the relevant tests and ran all of them with the compose file (+1 for that)
Take your time to review and let me know If there is something wrong in there...
Hi,
First of all, thank you very much for this amazing library. I have been using it for a week or so, and I found it to be very useful and very quick to get used to.
I am still facing a weird issue when doing selects using
goqu.I("column").IsNull()
. If the query isPrepared(true)
then this would generate a following condition:"column" IS $1
and that is not allowed in different databases. I didnt get it to work with psql.I think this, although is prepared, could keep the IS NULL as this is not really a parameter.
The text was updated successfully, but these errors were encountered: