diff options
| author | xengineering <me@xengineering.eu> | 2026-06-27 21:21:45 +0200 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2026-06-27 21:21:45 +0200 |
| commit | 132990e985751e40c263224a62983c8013409a36 (patch) | |
| tree | f4952cde44a950bfe7c0bdfec825056f85494b69 /vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vtable.go | |
| parent | ea4bd88963724c13f7b906d856af2d1c715fc056 (diff) | |
| download | finserv-132990e985751e40c263224a62983c8013409a36.tar finserv-132990e985751e40c263224a62983c8013409a36.tar.zst finserv-132990e985751e40c263224a62983c8013409a36.zip | |
Switch Register() and Authenticate() to sql.Tx
Using sql.Tx (database transactions) instead of a plain database has the
advantage that the caller can wrap multiple library calls into one
transaction.
This guarantees that no database entries change between the library
calls which is critical to prevent race conditions.
Diffstat (limited to 'vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vtable.go')
0 files changed, 0 insertions, 0 deletions
