Skip to main content

KEY_BATCH

Constant KEY_BATCH 

Source
pub const KEY_BATCH: usize = 900;
Expand description

How many keys one level’s keyed query may carry.

The binding constraint is the oldest SQLite default (SQLITE_MAX_VARIABLE_NUMBER = 999 before 3.32); PostgreSQL and MySQL cap a statement at 65535 parameters. 900 sits under all three with room for the caller’s own arguments in the same statement. Override per level with ThenLoad::batch.