MCPcopy
hub / github.com/authgear/authgear-server / PreparedStatementsHandle

Interface PreparedStatementsHandle

pkg/lib/infra/db/handle.go:30–34  ·  view source on GitHub ↗

PreparedStatementsHandle prepares and caches query.

Source from the content-addressed store, hash-verified

28
29// PreparedStatementsHandle prepares and caches query.
30type PreparedStatementsHandle interface {
31 // WithTx runs do within a transaction.
32 // If there is no error, the transaction is committed.
33 WithTx(ctx context.Context, do func(ctx context.Context) error) (err error)
34}

Callers

nothing calls this directly

Implementers 15

MockHandlepkg/lib/infra/db/mock_handle.go
HookHandlepkg/lib/infra/db/hook_handle.go
preparedStatementsHandlepkg/lib/infra/db/prepared_statements_h
WriteHandlepkg/lib/infra/db/auditdb/deps.go
MockAuthorizationHandlerDatabasepkg/lib/oauth/handler/handler_authz_mo
MockAuthorizationHandlerDatabaseMockRecorderpkg/lib/oauth/handler/handler_authz_mo
MockTokenHandlerAppDatabasepkg/lib/oauth/handler/handler_token_mo
MockTokenHandlerAppDatabaseMockRecorderpkg/lib/oauth/handler/handler_token_mo
MockServiceDatabasepkg/lib/authenticationflow/service_moc
MockServiceDatabaseMockRecorderpkg/lib/authenticationflow/service_moc
MockServiceDatabasepkg/lib/workflow/service_mock_test.go
MockServiceDatabaseMockRecorderpkg/lib/workflow/service_mock_test.go

Calls

no outgoing calls

Tested by

no test coverage detected