Skip to content

Commit b05440f

Browse files
committed
backward compatibility
1 parent c852f59 commit b05440f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vuetable-with-conn.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func GetVueTableDataWithContextWithConn(ctx context.Context, db *sql.Conn, pagin
9797

9898
total := 0
9999

100-
dbUtil := Db{DB: db, Context: ctx}
100+
dbUtil := Db{DBConn: db, Context: ctx}
101101
dbUtil.SetQuery(countQuery)
102102
dbUtil.SetParams(params...)
103103

@@ -298,7 +298,7 @@ func DownloadVueTableDataWithContextWithConn(ctx context.Context, db *sql.Conn,
298298

299299
total := 0
300300

301-
dbUtil := Db{DB: db, Context: ctx}
301+
dbUtil := Db{DBConn: db, Context: ctx}
302302
dbUtil.SetQuery(countQuery)
303303
dbUtil.SetParams(params...)
304304
if isDebug != 0 {

0 commit comments

Comments
 (0)