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
Hello,
Thanks for this great lib!. I happen to use a lot of JSONB types for postgres. One of the scenarios I have is to do a WHERE clause on a key value in a jsonb column, this would normally be something like this in postgres
insert into orders values(<valuelist>) on conflict(id) do update set (valuelist) where info ->> 'version' > excluded.info->>'version'
Whats the JET way of representing the above statement?
The text was updated successfully, but these errors were encountered:
Hmm, you're right RawBool is missing. Use BoolExp(Raw("info ->> 'version' > excluded.info->>'version'") instead. RawBool is just a short hand notation of BoolExp(Raw()).
Hello,
Thanks for this great lib!. I happen to use a lot of JSONB types for postgres. One of the scenarios I have is to do a WHERE clause on a key value in a jsonb column, this would normally be something like this in postgres
Whats the JET way of representing the above statement?
The text was updated successfully, but these errors were encountered: