class Marten::Schema::BoundField
- Marten::Schema::BoundField
- Reference
- Object
Overview
A field used in the context of a specific schema instance.
Included Modules
Defined in:
marten/schema/bound_field.crmarten/template/ext/schema/bound_field.cr
Constructors
Instance Method Summary
-
#errored?
Returns
true
if the field is errored. -
#errors
Returns the validation errors associated with the considered field.
-
#field : Marten::Schema::Field::Base
Returns the associated field definition.
-
#id(*args, **options)
Returns the field identifier.
-
#id(*args, **options, &)
Returns the field identifier.
-
#required?(*args, **options)
Returns
true
if the field is required. -
#required?(*args, **options, &)
Returns
true
if the field is required. -
#schema : Marten::Schema
Returns the associated schema instance.
-
#value
Returns the field value.