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
Wrap UPDATE subqueries in IFNULL to fix NOT NULL violations
Turso's aggregate-without-GROUP-BY returns 0 rows when the WHERE clause
matches nothing (SQL standard requires 1 row with NULL aggregates).
Zero rows from a scalar subquery yields NULL, which violates the
NOT NULL constraint on is_nullable. Wrap each subquery in
IFNULL(..., c.<col>) so no-match cases keep the existing value.
0 commit comments