(query string, args ...any)
| 178 | } |
| 179 | |
| 180 | func (this *DB) Query(query string, args ...any) (*sql.Rows, error) { |
| 181 | if this.enableStat { |
| 182 | defer SharedQueryStatManager.AddQuery(query).End() |
| 183 | } |
| 184 | return this.rawDB.Query(query, args...) |
| 185 | } |
| 186 | |
| 187 | func (this *DB) QueryRow(query string, args ...any) *sql.Row { |
| 188 | if this.enableStat { |
no test coverage detected