// Field returns the value of a field with the given name. The second boolean
// return value indicates that this field was not set, or was not defined in the
// schema.
Field returns the value of a field with the given name. The second boolean
return value indicates that this field was not set, or was not defined in the
schema.
// Field returns the value of a field with the given name . The second boolean // return value indicates that this field was not set or was not defined in the // schema .
func (m *FactTypeMutation) Field(name string) (ent.Value, bool) {
	switch name {
	case facttype.FieldCreatedAt:
		return m.CreatedAt()
	case facttype.FieldUpdatedAt:
		return m.UpdatedAt()
	case facttype.FieldDeletedAt:
		return m.DeletedAt()
	case facttype.FieldSlug:
		return m.Slug()
	case facttype.FieldBuiltIn:
		return m.BuiltIn()
	case facttype.FieldValidation:
		return m.Validation()
	}
	return nil, false
}
func ( m * FactTypeMutation ) Field ( name string ) ( ent . Value , bool ) { switch name { case facttype . FieldCreatedAt : return m . CreatedAt ( ) case facttype . FieldUpdatedAt : return m . UpdatedAt ( ) case facttype . FieldDeletedAt : return m . DeletedAt ( ) case facttype . FieldSlug : return m . Slug ( ) case facttype . FieldBuiltIn : return m . BuiltIn ( ) case facttype . FieldValidation : return m . Validation ( ) } return nil , false }
Field returns the value of a field with the given name.
Field returns the value of a field with the given name .