Skip to main content
pub struct BulkInsertStats 
    pub records_inserted: i64,
    pub records_updated: i64,
    pub records_failed: i64,
    pub elapsed_ms: u64,
    pub records_per_second: f64,

Statistics from a bulk insert operation.

This struct is returned by bulk insert methods in SqlClient and KineticaSqlxPool to provide information about the operation’s results.

Fields

records_inserted: i64

Number of records successfully inserted

records_updated: i64

Number of records updated (for upsert mode)

records_failed: i64

Number of records that failed to insert

elapsed_ms: u64

Total elapsed time in milliseconds

records_per_second: f64

Records per second

Trait Implementations

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more