This repository has been archived on 2022-04-14. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2020-03-27 14:29:41 +08:00
..
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)