pub(crate) const MAX_INSERT_ARGUMENTS: u16 = _; // 16_383u16
Expand description

tokio_postgres has a maximum number of arguments it supports when executing a query. This is the limit at which to split a batch to make sure we don’t try to include too many elements in any one update.