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
2020-03-27 14:29:41 +08:00
..
README.md Update documents 2020-03-27 14:29:41 +08:00

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)