Patch Changes
-
fix(db): don't push WHERE clauses to nullable side of outer joins (#1254)
The query optimizer incorrectly pushed single-source WHERE clauses into subqueries and collection index optimization for the nullable side of outer joins. This pre-filtered the data before the join, converting rows that should have been excluded by the WHERE into unmatched outer-join rows that incorrectly survived the residual filter.
-
Fixed
acceptMutationsnot persisting data in local-only collections with manual transactions. The mutation filter was comparing against a stalenullcollection reference instead of using the collection ID, causing all mutations to be silently dropped after the transaction'smutationFnresolved. (#1253) -
Fix like/ilike
%and_not matching newline characters (#1263) -
Make type of collection utils more precise for localOnly, PowerSync, Trailbase, and Electric collections (#1236)