From fc08e4f8c51900b8eec8f67e29ccd321c1f1a758 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 18 Apr 2024 14:22:45 +0800 Subject: [PATCH] 1 --- mysql.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mysql.go b/mysql.go index 2a868cb..4ba258d 100644 --- a/mysql.go +++ b/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...)