Batch operations support for AshScylla using ScyllaDB's BATCH statements.
ScyllaDB/Cassandra supports batch operations for executing multiple CQL statements in a single request.
Summary
Functions
Executes a batch of DELETE statements.
Executes a batch of INSERT statements.
Executes a batch of UPDATE statements.
Functions
Executes a batch of DELETE statements.
Executes a batch of INSERT statements.
Examples
statements = [
{"INSERT INTO users (id, name) VALUES (?, ?)", [id1, "Alice"]},
{"INSERT INTO users (id, name) VALUES (?, ?)", [id2, "Bob"]}
]
DataLayer.Batch.batch_insert(repo, statements)
Executes a batch of UPDATE statements.