(ctx context.Context, query string, args ...interface{})
| 190 | } |
| 191 | |
| 192 | func (tx *PreparedStmtTX) QueryRowContext(ctx context.Context, query string, args ...interface{}) *sql.Row { |
| 193 | stmt, err := tx.PreparedStmtDB.prepare(ctx, tx.Tx, true, query) |
| 194 | if err == nil { |
| 195 | return tx.Tx.StmtContext(ctx, stmt.Stmt).QueryRowContext(ctx, args...) |
| 196 | } |
| 197 | return &sql.Row{} |
| 198 | } |
| 199 | |
| 200 | func (tx *PreparedStmtTX) Ping() error { |
| 201 | conn, err := tx.GetDBConn() |
nothing calls this directly
no test coverage detected