Skip to main content

Module insert_all

Module insert_all 

Source
Expand description

Bulk insert and upsert helpers.

Structs§

InsertAllConfig
Batch insert configuration.
InsertResult
Result metadata returned by insert_all.
UpsertResult
Result metadata returned by upsert_all.

Enums§

InsertAllError
Errors returned by bulk insert helpers.

Functions§

insert_all
Simulates Active Record insert_all semantics over JSON-compatible rows.
insert_all_with_config
Inserts records using explicit batch configuration.
upsert_all
Simulates Active Record upsert_all semantics keyed by unique_by.
upsert_all_with_config
Upserts records using explicit batch configuration.