1
This commit is contained in:
parent
70d3baf515
commit
fc08e4f8c5
2
mysql.go
2
mysql.go
@ -50,9 +50,11 @@ func (this *Mysql) Query(query string, args ...interface{}) (*sql.Rows, error) {
|
||||
return rows, err
|
||||
}
|
||||
|
||||
/*
|
||||
func (this *Mysql) QueryRow(query string, args ...interface{}) *sql.Row {
|
||||
return this.db.QueryRow(query, args...)
|
||||
}
|
||||
*/
|
||||
|
||||
func (this *Mysql) Exec(query string, args ...interface{}) (sql.Result, error) {
|
||||
result, err := this.db.Exec(query, args...)
|
||||
|
Loading…
x
Reference in New Issue
Block a user