Skip to content

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)

View source


Instance Methods

#count

View source

Number of records affected (inserted + updated)


#ids

View source

IDs of affected records (only available on PostgreSQL) Returns String for UUID columns, Int64 for integer columns