// Fields returns all fields that were changed during this mutation. Note that in
// order to get all numeric fields that were incremented/decremented, call
// AddedFields().
Fields returns all fields that were changed during this mutation. Note that in
order to get all numeric fields that were incremented/decremented, call
AddedFields().
// Fields returns all fields that were changed during this mutation . Note that in // order to get all numeric fields that were incremented / decremented call // AddedFields () .
func (m *FactMutation) Fields() []string {
	fields := make([]string, 0, 6)
	if m.created_at != nil {
		fields = append(fields, fact.FieldCreatedAt)
	}
	if m.updated_at != nil {
		fields = append(fields, fact.FieldUpdatedAt)
	}
	if m.deleted_at != nil {
		fields = append(fields, fact.FieldDeletedAt)
	}
	if m.hashed_value != nil {
		fields = append(fields, fact.FieldHashedValue)
	}
	if m.encrypted_value != nil {
		fields = append(fields, fact.FieldEncryptedValue)
	}
	if m.domain != nil {
		fields = append(fields, fact.FieldDomain)
	}
	return fields
}
func ( m * FactMutation ) Fields ( ) [ ] string { fields := make ( [ ] string , 0 , 6 ) if m . created_at != nil { fields = append ( fields , fact . FieldCreatedAt ) } if m . updated_at != nil { fields = append ( fields , fact . FieldUpdatedAt ) } if m . deleted_at != nil { fields = append ( fields , fact . FieldDeletedAt ) } if m . hashed_value != nil { fields = append ( fields , fact . FieldHashedValue ) } if m . encrypted_value != nil { fields = append ( fields , fact . FieldEncryptedValue ) } if m . domain != nil { fields = append ( fields , fact . FieldDomain ) } return fields }
Fields returns all fields that were changed during this mutation.
Fields returns all fields that were changed during this mutation .