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.
ReadonlyoptionsPrisma adapter configuration; prismaClient is required.
Optional ReadonlyreadinessOptional schema readiness, evaluated by this connection's health indicator.
ReadonlytypeSelects the Prisma arm.
The arm selecting the Prisma adapter.
options.prismaClientis required by the union rather than optional on a nested bag, so a registration that forgets it is a compile error instead of aconnect()throw — the same guarantee the'custom'arm givesadapter.Example
Since
0.2.0