(db *DB, rawStmt *sql.Stmt, query string)
| 17 | } |
| 18 | |
| 19 | func NewStmt(db *DB, rawStmt *sql.Stmt, query string) *Stmt { |
| 20 | return &Stmt{ |
| 21 | db: db, |
| 22 | rawStmt: rawStmt, |
| 23 | query: query, |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | func (this *Stmt) EnableStat() { |
| 28 | this.enableStat = true |