# insertedCount

var insertedCount: Int

The number of rows affected by the insert operation.

When returned by a `BatchInsertStatement` or `BatchUpsertStatement`, the returned value is calculated using the sum of the individual values generated by each statement.

Note: Some vendors support returning the affected-row value of 2 if an existing row is updated by an upsert operation; please check the documentation.