// 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 *ScopeMutation) Fields() []string {
	fields := make([]string, 0, 6)
	if m.created_at != nil {
		fields = append(fields, scope.FieldCreatedAt)
	}
	if m.updated_at != nil {
		fields = append(fields, scope.FieldUpdatedAt)
	}
	if m.deleted_at != nil {
		fields = append(fields, scope.FieldDeletedAt)
	}
	if m.custom_id != nil {
		fields = append(fields, scope.FieldCustomID)
	}
	if m.nonce != nil {
		fields = append(fields, scope.FieldNonce)
	}
	if m.domain != nil {
		fields = append(fields, scope.FieldDomain)
	}
	return fields
}
func ( m * ScopeMutation ) Fields ( ) [ ] string { fields := make ( [ ] string , 0 , 6 ) if m . created_at != nil { fields = append ( fields , scope . FieldCreatedAt ) } if m . updated_at != nil { fields = append ( fields , scope . FieldUpdatedAt ) } if m . deleted_at != nil { fields = append ( fields , scope . FieldDeletedAt ) } if m . custom_id != nil { fields = append ( fields , scope . FieldCustomID ) } if m . nonce != nil { fields = append ( fields , scope . FieldNonce ) } if m . domain != nil { fields = append ( fields , scope . FieldDomain ) } return fields }
Fields returns all fields that were changed during this mutation.
Fields returns all fields that were changed during this mutation .