pub fn filter_incremental(
records: Vec<Value>,
key: &str,
start: &Value,
) -> Vec<Value>Expand description
Filter records to only those where record[key] > start.
Records missing the key are excluded. Strings compare lexicographically
(ISO-8601 dates compare correctly this way); integers compare exactly
(no f64 precision loss); floats compare as f64.
If a record’s key value is a different JSON type than start (e.g. a
numeric key against a string bookmark), the comparison is not meaningful;
rather than silently dropping the record — which is data loss (#78/#27) —
it is kept and a warning is logged.