(ctx context.Context, query string, args ...interface{})
| 129 | } |
| 130 | |
| 131 | func (db *PreparedStmtDB) QueryRowContext(ctx context.Context, query string, args ...interface{}) *sql.Row { |
| 132 | stmt, err := db.prepare(ctx, db.ConnPool, false, query) |
| 133 | if err == nil { |
| 134 | return stmt.QueryRowContext(ctx, args...) |
| 135 | } |
| 136 | return &sql.Row{} |
| 137 | } |
| 138 | |
| 139 | func (db *PreparedStmtDB) Ping() error { |
| 140 | conn, err := db.GetDBConn() |
nothing calls this directly
no test coverage detected