ReadonlynameThe name of the store (e.g. 'mongodb', 'redis', 'dynamodb')
ReadonlylibraryThe client library being used
Returns the underlying cassandra-driver Client for anything not wrapped here.
Execute a single CQL statement with optional bound params. Statements
are prepared by default (prepare: true); pass opts.prepare = false to
run a one-off unprepared. Any other driver query options (consistency,
fetchSize, pageState, ...) are forwarded via opts. Returns the full
driver result (with .rows).
Execute multiple statements as a single logged batch (atomic across the
statements, though not isolated — Cassandra batches are not SQL
transactions). Each entry is a { query, params } pair. Prepared by
default; forward other driver batch options via opts.
Convenience INSERT: builds a parameterized
INSERT INTO table (cols...) VALUES (?, ?, ...) from obj's keys and
executes it (prepared). For upserts with TTL, IF NOT EXISTS, or other
clauses, write the CQL yourself and call execute().
Convenience SELECT * FROM table. Returns the full driver result (with .rows).
CassandraStorewraps acassandra-driverClientand exposes CQL execution (execute), atomic multi-statement batches (batch), and a few parameterized convenience helpers (insert,selectAll).Statements are prepared by default (
prepare: true) so the driver can cache query metadata, infer parameter types, and route requests to replica nodes that own the partition — the recommended default for anything run more than once.