Creates the adapter.
The 'dynamodb' arm options; region is required unless
client is supplied
When neither region nor client is supplied. A typed
caller cannot reach this — DynamoAdapterOptions is a union
whose arms each require one of the two — but the plugin builds the bag
through an untyped carry (buildAdapterOptions), so the runtime guard
is the backstop for that cast rather than dead code.
When an injected client lacks the driven surface — the
M52c/M52d binding-guard precedent: a mistyped client must fail at
construction with a name rather than at the first request with a bare
TypeError.
When maxPageFetches is not a positive safe integer.
Infinity would silently DISABLE the very bound the option configures
(measured: a findPage whose filter matches nothing scans the whole
partition to exhaustion instead of stopping), and NaN makes every
fetches < maxPageFetches comparison false, collapsing the fill loop
to a single server page. Both fail at construction rather than
degrading a later page silently.
ReadonlytransactionDynamoDB exposes no portable transaction-isolation selector.
Begin a transaction, returning a handle that can open transaction-scoped data sources as well as commit and roll back.
Optionaloptions: TransactionOptions
Optional transaction settings; omitted preserves the backend default
The transaction handle
Opens the underlying connection (pool).
Open a non-transactional data source for the named entity.
Entity name (for example 'User')
A data source bound to that entity
Closes the underlying connection (pool).
Reports whether the adapter is connected and usable.
true when ready
Execute a raw query in the backend's own dialect.
Expected row shape
The query text
Optional_params: unknown[]
Positional parameters
The result rows
The DynamoDB adapter — a key-value store backend served through the portable data-access contract.
Example
Since
0.2.0