fix two typos

This commit is contained in:
张勇
2019-05-27 16:38:30 +08:00
parent f2be6af2ca
commit 3c046a4dbf
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ type Ormer interface {
// for example:
// user := new(User)
// id, err = Ormer.Insert(user)
// user must a pointer and Insert will set user's pk field
// user must be a pointer and Insert will set user's pk field
Insert(interface{}) (int64, error)
// mysql:InsertOrUpdate(model) or InsertOrUpdate(model,"colu=colu+value")
// if colu type is integer : can use(+-*/), string : convert(colu,"value")