ReadonlyadapterThe backend to use, already constructed. The plugin calls connect() on
it during register() and disconnect() during shutdown; it never
constructs or replaces it.
Optional ReadonlynameNamed connection for multi-database support. Defaults to 'default'.
When a name is provided, the service registers under
database.<name> (e.g. database.primary); otherwise it uses the
canonical CAPABILITIES.DATABASE token. Dot notation, not a colon:
createCapabilityToken rejects colons.
Optional ReadonlyoptionsAdapter-specific options.
On the 'custom' arm the adapter is already constructed, so only the
options the service reads still apply — logQueries routes a custom
adapter's data sources through the same single logging wrapper every
built-in adapter uses.
Optional ReadonlyreadinessOptional schema readiness, evaluated by this connection's health indicator.
ReadonlytypeSelects the external-adapter arm.
The arm supplying an externally-implemented backend.
adapteris required by the union, so a'custom'registration that forgets it is a compile error rather than a startup throw.Example
Since
0.2.0