zitadel/internal/database
Silvan 1ee7a1ab7c
feat(eventstore): accept transaction in push (#8945)
# Which Problems Are Solved

Push is not capable of external transactions.

# How the Problems Are Solved

A new function `PushWithClient` is added to the eventstore framework
which allows to pass a client which can either be a `*sql.Client` or
`*sql.Tx` and is used during push.

# Additional Changes

Added interfaces to database package.

# Additional Context

- part of https://github.com/zitadel/zitadel/issues/8931

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2024-11-22 17:25:28 +01:00
..
cockroach perf(cache): pgx pool connector (#8703) 2024-10-04 13:15:41 +00:00
dialect perf(cache): pgx pool connector (#8703) 2024-10-04 13:15:41 +00:00
migrate feat(cli): init cli (#3186) 2022-02-09 15:01:19 +01:00
mock chore: use pgx v5 (#7577) 2024-03-27 15:48:22 +02:00
postgres perf(cache): pgx pool connector (#8703) 2024-10-04 13:15:41 +00:00
database_test.go perf(query): remove transactions for queries (#8614) 2024-11-04 10:06:14 +01:00
database.go feat(eventstore): accept transaction in push (#8945) 2024-11-22 17:25:28 +01:00
type_test.go chore: use pgx v5 (#7577) 2024-03-27 15:48:22 +02:00
type.go chore: use pgx v5 (#7577) 2024-03-27 15:48:22 +02:00