mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
@@ -114,7 +114,7 @@ func (m *UserMutation) AddedAge() (r int, exists bool) {
|
||||
return *v, true
|
||||
}
|
||||
|
||||
// ResetAge reset all changes of the age field.
|
||||
// ResetAge reset all changes of the "age" field.
|
||||
func (m *UserMutation) ResetAge() {
|
||||
m.age = nil
|
||||
m.addage = nil
|
||||
@@ -134,7 +134,7 @@ func (m *UserMutation) Name() (r string, exists bool) {
|
||||
return *v, true
|
||||
}
|
||||
|
||||
// ResetName reset all changes of the name field.
|
||||
// ResetName reset all changes of the "name" field.
|
||||
func (m *UserMutation) ResetName() {
|
||||
m.name = nil
|
||||
}
|
||||
@@ -175,7 +175,7 @@ func (m *UserMutation) FriendsIDs() (ids []int) {
|
||||
return
|
||||
}
|
||||
|
||||
// ResetFriends reset all changes of the friends edge.
|
||||
// ResetFriends reset all changes of the "friends" edge.
|
||||
func (m *UserMutation) ResetFriends() {
|
||||
m.friends = nil
|
||||
m.removedfriends = nil
|
||||
|
||||
Reference in New Issue
Block a user