mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
entc/gen: add support for summing custom Go numeric types
This commit is contained in:
committed by
Ariel Mashraki
parent
ee4fa653fd
commit
c40ae45aee
@@ -52,7 +52,6 @@ func (fu *FileUpdate) SetNillableDeleted(b *bool) *FileUpdate {
|
||||
|
||||
// SetParentID sets the "parent_id" field.
|
||||
func (fu *FileUpdate) SetParentID(i int) *FileUpdate {
|
||||
fu.mutation.ResetParentID()
|
||||
fu.mutation.SetParentID(i)
|
||||
return fu
|
||||
}
|
||||
@@ -336,7 +335,6 @@ func (fuo *FileUpdateOne) SetNillableDeleted(b *bool) *FileUpdateOne {
|
||||
|
||||
// SetParentID sets the "parent_id" field.
|
||||
func (fuo *FileUpdateOne) SetParentID(i int) *FileUpdateOne {
|
||||
fuo.mutation.ResetParentID()
|
||||
fuo.mutation.SetParentID(i)
|
||||
return fuo
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user