Module BatchStatement

This module represents a Cassandra batch statement.

A batch can combine multiple data modification statements (INSERT, UPDATE, DELETE) into a single operation. A batch is instanciated by the Cassandra module. See the related batch.lua example.

Functions

batch:add (query, args) Add a query to the batch operation.


Functions

batch:add (query, args)
Add a query to the batch operation. The query can either be a plain string or a prepared statement.

Parameters:

  • query The query or prepared statement to add to the batch.
  • args Arguments of the query.
generated by LDoc 1.4.3 Last updated 2015-07-30 16:28:43