1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-11-25 23:02:22 +02:00

сделал type IConnectionTransaction interface

This commit is contained in:
Nikitin Aleksandr
2025-06-27 15:21:29 +03:00
parent bd9cf230e4
commit 34bee80ea4
2 changed files with 3 additions and 2 deletions

View File

@@ -468,7 +468,7 @@ func GetConnection_WithApplicationName(ApplicationName string) *pgx.Conn {
// }
// defer rows.Close()
func RawMultipleSQL(tx pgx.Tx, TextSQL string) (pgx.Rows, error) {
func RawMultipleSQL(tx IConnectionTransaction, TextSQL string) (pgx.Rows, error) {
var rows pgx.Rows
var err error