This commit is contained in:
aozhiwei 2024-04-18 14:22:45 +08:00
parent 70d3baf515
commit fc08e4f8c5

View File

@ -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...)