doc/md: fix typo in crud example (#2186)

This commit is contained in:
Sungyun Hur
2021-12-01 18:27:59 +09:00
committed by GitHub
parent a437153abc
commit c023b38cdf

View File

@@ -281,7 +281,7 @@ id, err := client.User.
).
Update(func(u *ent.UserUpsert) {
u.SetAge(30)
u.UpadteName()
u.UpdateName()
}).
ID(ctx)