Struct discord_cassandra_cpp::Batch
source · [−]pub struct Batch<T = Bound>(_, _);
Expand description
A group of statements that are executed as a single batch. Note: Batches are not supported by the binary protocol version 1.
Implementations
Executes this batch.
Sets the batch’s consistency level
Sets the batch’s serial consistency level.
Default: Not set
Sets the batch’s timestamp.
Sets the batch’s retry policy.
Sets the batch’s custom payload.
Adds a statement to a batch.
Sets whether the statements in a batch are idempotent. Idempotent batches are able to be automatically retried after timeouts/errors and can be speculatively executed.