buildIncrementalQuery
buildIncrementalQuery(
schema,tAfter):string
Defined in: db/store.ts:211
Build a simple SELECT for new rows after tAfter, with no downsampling.
Used for the hot path in cold/hot incremental updates.
Relies on the monotonicity contract: t is strictly increasing, so
t > tAfter with strict inequality avoids re-fetching the boundary point.
Derived columns must be row-local (no window functions or aggregation).
Parameters
Section titled “Parameters”schema
Section titled “schema”tAfter
Section titled “tAfter”number
Returns
Section titled “Returns”string