zh docs update
This commit is contained in:
@@ -40,8 +40,8 @@ func main() {
|
||||
user.Email = "vslene@gmail.com"
|
||||
user.IsActive = true
|
||||
|
||||
fmt.Println(o.Object(profile).Insert())
|
||||
fmt.Println(o.Object(user).Insert())
|
||||
fmt.Println(o.Insert(profile))
|
||||
fmt.Println(o.Insert(user))
|
||||
|
||||
var params []orm.Params
|
||||
if cnt, err := o.QueryTable("user").RelatedSel().Limit(3).OrderBy("-id").Values(¶ms); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user