mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
doc/md: fix typo in crud example (#2186)
This commit is contained in:
@@ -281,7 +281,7 @@ id, err := client.User.
|
||||
).
|
||||
Update(func(u *ent.UserUpsert) {
|
||||
u.SetAge(30)
|
||||
u.UpadteName()
|
||||
u.UpdateName()
|
||||
}).
|
||||
ID(ctx)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user