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
It seems that coalesce function in SQLite loses expression type
So following query does not work
SELECT order0_.*
FROM Orders order0_
WHERE COALESCE(order0_.Freight, 0) > @p0;
And a query with cast around coalesce works
SELECT order0_.*
FROM Orders order0_
WHERE CAST(COALESCE(order0_.Freight, 0) as NUMERIC) > @p0;
0 commit comments