Skip to content
Source
Sign inSign up
TanStack/db

Predicate Comparison and Merging Utilities for Predicate Push-Down #668

Mergedsamwillis(GitHub profile, opens in a new tab)merged 28 commits intoquery-driven-sync fromrefs/pull/668/headmerged by samwillis(GitHub profile, opens in a new tab)

Showing 12 changed files with 15 additions and 0 deletions (loading 9).

x
0 of 12 viewed, 12 left
5 additions and 0 deletions.changeset/legal-cooks-sink.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+"@tanstack/db-ivm": patch
+---
+​
+Fix bug with setWindow on ordered queries that have no limit.
5 additions and 0 deletions.changeset/light-phones-flash.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+"@tanstack/db": patch
+---
+​
+Add predicate comparison and merging utilities (isWhereSubset, intersectWherePredicates, unionWherePredicates, and related functions) to support predicate push-down in collection sync operations, enabling efficient tracking of loaded data ranges and preventing redundant server requests. Includes performance optimizations for large primitive IN predicates and full support for Date objects in equality, range, and IN clause comparisons.
5 additions and 0 deletions.changeset/open-cups-lose.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+"@tanstack/db": patch
+---
+​
+Add support for orderBy and limit in currentStateAsChanges function
packages/db-ivm/src/operators/topKWithFractionalIndex.tsModified
View file