소스 검색

fix default Exec method

ls 1 년 전
부모
커밋
9ac6acee2d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      db/db.go

+ 1 - 1
db/db.go

@@ -397,6 +397,6 @@ func Exec(query string, args ...interface{}) (LastInsertId, RowsAffected int64,
 		return
 	}
 
-	LastInsertId, RowsAffected, err = defaultDB.conn.Exec(query, args...)
+	LastInsertId, RowsAffected, err = defaultDB.Exec(query, args...)
 	return
 }