BulkUpsertResult¶
struct
Defined in src/ralph/bulk_operations.cr:23
Result of a bulk upsert operation
Constructors¶
.new(count : Int32, ids : Array(BulkOperationId) = [] of BulkOperationId)¶
Instance Methods¶
#count¶
Number of records affected (inserted + updated)
#ids¶
IDs of affected records (only available on PostgreSQL) Returns String for UUID columns, Int64 for integer columns