@@ -66,25 +66,25 @@ func (c PgxBeginner) BeginTx(ctx context.Context, options *stdSQL.TxOptions) (Tx
6666}
6767
6868func (c PgxBeginner ) ExecContext (ctx context.Context , query string , args ... any ) (Result , error ) {
69- res , err := c .Conn . Exec (ctx , query , args ... )
69+ res , err := c .Exec (ctx , query , args ... )
7070
7171 return PgxResult {res }, err
7272}
7373
7474func (c PgxBeginner ) QueryContext (ctx context.Context , query string , args ... any ) (Rows , error ) {
75- rows , err := c .Conn . Query (ctx , query , args ... )
75+ rows , err := c .Query (ctx , query , args ... )
7676
7777 return PgxRows {rows }, err
7878}
7979
8080func (t PgxTx ) ExecContext (ctx context.Context , query string , args ... any ) (Result , error ) {
81- res , err := t .Tx . Exec (ctx , query , args ... )
81+ res , err := t .Exec (ctx , query , args ... )
8282
8383 return PgxResult {res }, err
8484}
8585
8686func (t PgxTx ) QueryContext (ctx context.Context , query string , args ... any ) (Rows , error ) {
87- rows , err := t .Tx . Query (ctx , query , args ... )
87+ rows , err := t .Query (ctx , query , args ... )
8888
8989 return PgxRows {rows }, err
9090}
0 commit comments