Skip to main content

sql_max_insert_rows

Function sql_max_insert_rows 

Source
pub fn sql_max_insert_rows<C: SqlConnection>(
    conn: &C,
    column_count: usize,
) -> Option<usize>
Expand description

Maximum INSERT rows for column_count, derived from the backend’s bound-parameter ceiling.

A return value of Some(0) means the requested column count exceeds the backend’s total bind-parameter cap.