This commit is contained in:
lucapette 2017-08-02 04:39:46 +02:00 committed by Lunny Xiao
parent c2e915ffc1
commit 10faec1e58
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ results, err := engine.Query("select * from user")
results, err := engine.QueryString("select * from user")
```
* `Execute` runs a SQL string, it returns `affetcted` and `error`
* `Execute` runs a SQL string, it returns `affected` and `error`
```Go
affected, err := engine.Exec("update user set age = ? where name = ?", age, name)