struct

Ralph::BulkInsertResult

Inherits Struct / Value / Object

Result of a bulk insert operation

Contains information about the inserted records, including IDs if available.

Constructors

new(count : Int32, ids : Array(Int64) = [] of Int64)
Source

Instance methods

count

Number of records inserted

Source
ids

IDs of inserted records (only available on PostgreSQL with RETURNING clause) For SQLite, this will be empty as SQLite doesn't support RETURNING for multi-row inserts

Source