ReadonlynameThe name of the store (e.g. 'mongodb', 'redis', 'dynamodb')
ReadonlylibraryThe client library being used
Returns the underlying QldbDriver for anything not wrapped here.
Insert data as a new document into table, returning its QLDB document
id (the stable identifier every revision of the document shares). Runs
INSERT INTO <table> ?.
Read the current revision of the document with QLDB document id id,
addressed via PartiQL's BY clause. Returns the row or null.
Return every revision (including deletions) of the document with id id
via the history(<table>) PartiQL function. Each entry carries data,
metadata, blockAddress and hash.
Return the tamper-evidence proof material for document id: its revision
metadata (content hash + version) and blockAddress from the journal,
pulled from history(). This is the data QLDB's server-side digest/proof
APIs cryptographically verify a revision against.
Run a raw PartiQL statement with optional positional params.
Fetch every document in table matching the ORM where clause. The
where clause is compiled to a parameterized PartiQL WHERE; order,
limit and offset are applied client-side because QLDB's PartiQL
dialect supports none of them.
Fetch the first document matching where (client-side limit 1), or null.
Count documents in table matching where.
Optionalwhere: Record<string, any>Insert data as a new document, returning its QLDB document id. Alias
of append using ORM naming.
Insert many documents in a single managed transaction, returning the new document ids in order.
Update every document matching where, SETting each key in values.
Returns the number of documents QLDB reported as modified.
Optionalwhere: Record<string, any>Delete every document matching where. Returns the number of documents
QLDB reported as deleted. QLDB retains all prior revisions in the
journal, so a delete is itself a new (tombstone) revision - use
history to recover deleted data.
Optionalwhere: Record<string, any>Insert-or-update: within a single transaction, look for a document
matching where; if one exists, SET data onto the matches, otherwise
INSERT data (merged with the where equality keys). Returns
{ created } indicating which branch ran.
List the active table names in the ledger (thin passthrough).
QldbStorewraps anamazon-qldb-driver-nodejsdriver behind the shared ledger surface.appendinserts a new document (returning its QLDB document id),getreads the current revision by document id,historyreturns every prior revision via thehistory()PartiQL function,verifyreturns a document's revision metadata (content hash + block address - QLDB's tamper-evidence proof material), andqueryis the raw PartiQL escape hatch.