Skip to main content

K_LIST_LIMIT_MAX

Constant K_LIST_LIMIT_MAX 

Source
pub const K_LIST_LIMIT_MAX: usize = 1_000_000;
Expand description

Inclusive upper bound for --limit on commands that page over stored rows.

Separate from K_QUERY_RANGE_MAX because export --limit ships a default of 100_000, so the retrieval ceiling would be a breaking change there. These limits reach SQLite as a LIMIT clause, where the row count bounds the work no matter what the operator asks for; the ceiling exists to reject absurd input at parse time rather than to protect memory.