Create transaction-scoped ports from the Drizzle transaction client.
The event recorder is transaction-local. Record domain events inside the
callback and pass eventBus to publish them after the database commit.
The root Drizzle database instance from ctx.ports.db.db.
OptionaleventOptional event bus used to flush recorded domain events after commit.
OptionaltransactionOptional Drizzle transaction configuration.
Options for creating a Drizzle/Turso-backed Unit of Work port.