Merge pull request #1402 from huwenchao/patch-1

fix a wrong sql
This commit is contained in:
Jinzhu 2017-03-27 23:03:21 +08:00 committed by GitHub
commit 0efe6d8343

View File

@ -72,7 +72,7 @@ Run Raw SQL
```go
db.Exec("DROP TABLE users;")
db.Exec("UPDATE orders SET shipped_at=? WHERE id IN (?)", time.Now, []int64{11,22,33})
db.Exec("UPDATE orders SET shipped_at=? WHERE id IN (?)", time.Now(), []int64{11,22,33})
// Scan
type Result struct {