From 13587615a1fb60e6ef34b4bfff1901deb1a53221 Mon Sep 17 00:00:00 2001 From: guzeng Date: Tue, 6 Apr 2021 00:53:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9find=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chain.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chain.go b/chain.go index 0cfb3e6..138c384 100644 --- a/chain.go +++ b/chain.go @@ -407,7 +407,8 @@ func (this *Query) Select() ([]map[string]string, error) { * return row error */ func (this *Query) Find() (map[string]string, error) { - + this.page = 1 + this.page_size = 1 err := this.QueryStmt() if err != nil { return map[string]string{}, err