Creates the adapter and validates its configuration.
The validation is the point: a blank instance id is otherwise a bare gRPC failure on the first request rather than a named configuration error at construction — the guard family M52c's and M52d's reviews added for D1 and Durable Objects.
The 'bigtable' arm options
Optionalloader: BigtableClientLoader
An explicit client loader, overriding the inject-or-lazy
choice options would otherwise make. Supply one to wrap a
differently-pinned SDK module around
createLazyBigtableLoader's adaptation; the loader's owned
flag decides whether BigtableAdapter.disconnect closes the
client it produced.
ReadonlytransactionBigtable 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 Bigtable adapter.
Constructed by
DatabasePluginfor the'bigtable'arm, and also constructible directly by an application for the'custom'arm.Example
Since
0.2.0