mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
@@ -95,7 +95,7 @@ func (m *PetMutation) 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 *PetMutation) ResetName() {
|
||||
m.name = nil
|
||||
}
|
||||
@@ -133,7 +133,7 @@ func (m *PetMutation) OwnerIDs() (ids []int) {
|
||||
return
|
||||
}
|
||||
|
||||
// ResetOwner reset all changes of the owner edge.
|
||||
// ResetOwner reset all changes of the "owner" edge.
|
||||
func (m *PetMutation) ResetOwner() {
|
||||
m.owner = nil
|
||||
m.clearedowner = false
|
||||
@@ -408,7 +408,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
|
||||
@@ -428,7 +428,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
|
||||
}
|
||||
@@ -469,7 +469,7 @@ func (m *UserMutation) PetsIDs() (ids []int) {
|
||||
return
|
||||
}
|
||||
|
||||
// ResetPets reset all changes of the pets edge.
|
||||
// ResetPets reset all changes of the "pets" edge.
|
||||
func (m *UserMutation) ResetPets() {
|
||||
m.pets = nil
|
||||
m.removedpets = nil
|
||||
|
||||
Reference in New Issue
Block a user