This repository has been archived on 2022-04-14. You can view files and clone it, but cannot push or open issues or pull requests.
manual-en-US/chapter-09/README.md
2020-03-27 14:29:41 +08:00

203 B

9.Execute SQL command

When you want insert, update or delete, then use Exec as below

sql := "update userinfo set username=? where id=?"
res, err := engine.Exec(sql, "xiaolun", 1)