ReadonlynameThe name of the store (e.g. 'mongodb', 'redis', 'dynamodb')
ReadonlylibraryThe client library being used
Returns the underlying rocksdb client for anything not wrapped here.
Writes (or overwrites) the value at key.
Reads the value at key.
Deletes the value at key.
Applies a list of put/del operations as a single atomic batch.
Lists keys in order. With prefix, restricts to keys >= prefix and
< prefix + '\xff' (a standard prefix-scan range for byte-ordered keys).
Optionalprefix: stringOrdered iteration over [key, value] pairs whose key is in [gte, lt).
Values are returned as stored (JSON strings, when written through the
document layer). Used internally by the document layer's range scans.
Returns a document layer bound to this store, keyed by primaryKey
(default 'id'). Exposes the full ORM model API
(findAll/findOne/findByPk/create/bulkCreate/update/destroy/
count/truncate/upsert/increment/transaction).
ORM findAll over a collection: where/order/limit/offset/include.
Optionaloptions: FindOptionsORM findOne over a collection.
Optionaloptions: FindOptionsORM findByPk over a collection.
Optionaloptions: FindOptionsORM count over a collection.
Optionalwhere: WhereClauseORM create for a single document.
ORM bulkCreate for many documents (atomic batch).
ORM update: merge values into documents matching where.
Optionalwhere: WhereClauseORM destroy: delete documents matching where.
Optionalwhere: WhereClauseORM truncate: delete every document in a collection.
Upsert a document by primary key.
RocksDBStorewraps arocksdbclient and exposes its embedded KV surface:put/get/delfor single keys,batchfor atomic multi-key writes, andlistfor ordered key iteration (optionally by prefix).