Browse Source

修改find方法

master v0.5.3
guzeng 3 years ago
parent
commit
13587615a1
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      chain.go

+ 2
- 1
chain.go View File

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


Loading…
Cancel
Save