loopdb: fix description of BaseDB.ExecTx

This commit is contained in:
Boris Nagaev 2024-06-19 00:39:52 -03:00
parent 2847e83fcf
commit d341448568
No known key found for this signature in database

View file

@ -194,7 +194,7 @@ func (db *BaseDB) BeginTx(ctx context.Context,
}
// ExecTx is a wrapper for txBody to abstract the creation and commit of a db
// transaction. The db transaction is embedded in a `*postgres.Queries` that
// transaction. The db transaction is embedded in a `*sqlc.Queries` that
// txBody needs to use when executing each one of the queries that need to be
// applied atomically.
func (db *BaseDB) ExecTx(ctx context.Context, txOptions TxOptions,