// 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 *FactMutation) Field(name string) (ent.Value, bool) {
	switch name {
	case fact.FieldCreatedAt:
		return m.CreatedAt()
	case fact.FieldUpdatedAt:
		return m.UpdatedAt()
	case fact.FieldDeletedAt:
		return m.DeletedAt()
	case fact.FieldHashedValue:
		return m.HashedValue()
	case fact.FieldEncryptedValue:
		return m.EncryptedValue()
	case fact.FieldDomain:
		return m.Domain()
	}
	return nil, false
}
func ( m * FactMutation ) Field ( name string ) ( ent . Value , bool ) { switch name { case fact . FieldCreatedAt : return m . CreatedAt ( ) case fact . FieldUpdatedAt : return m . UpdatedAt ( ) case fact . FieldDeletedAt : return m . DeletedAt ( ) case fact . FieldHashedValue : return m . HashedValue ( ) case fact . FieldEncryptedValue : return m . EncryptedValue ( ) case fact . FieldDomain : return m . Domain ( ) } 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 .