// ClearField clears the value of the field with the given name. It returns an
// error if the field is not defined in the schema.
ClearField clears the value of the field with the given name. It returns an
error if the field is not defined in the schema.
// ClearField clears the value of the field with the given name . It returns an // error if the field is not defined in the schema .
func (m *GrantMutation) ClearField(name string) error {
	switch name {
	case grant.FieldDeletedAt:
		m.ClearDeletedAt()
		return nil
	}
	return fmt.Errorf("unknown Grant nullable field %s", name)
}
func ( m * GrantMutation ) ClearField ( name string ) error { switch name { case grant . FieldDeletedAt : m . ClearDeletedAt ( ) return nil } return fmt . Errorf ( " " , name ) }
ClearField clears the value of the field with the given name.
ClearField clears the value of the field with the given name .