module Marten::DB::Model::Table
Direct including types
Defined in:
marten/db/model/table.crInstance Method Summary
- 
        #get_field_value(field_name : String | Symbol)
        
          Allows to read the value of a specific field. 
- #inspect(io)
- 
        #set_field_value(field_name : String | Symbol, value : Field::Any | Model)
        
          Allows to set the value of a specific field. 
- 
        #set_field_values(values : Hash | NamedTuple)
        
          Allows to set the values of multiple fields. 
- 
        #set_field_values(**values)
        
          Allows to set the values of multiple fields. 
- #to_s(io)
Macro Summary
Instance Method Detail
Allows to read the value of a specific field.
This methods returns the value of the field corresponding to field_name. If the passed field_name doesn't
match any existing field, a Marten::DB::Errors::UnknownField exception is raised.
Allows to set the value of a specific field.
If the passed field_name doesn't match any existing field, a Marten::DB::Errors::UnknownField exception
will be raised.
Allows to set the values of multiple fields.
If one of the specified field names doesn't match any existing field, a Marten::DB::Errors::UnknownField
exception will be raised.
Allows to set the values of multiple fields.
If one of the specified field names doesn't match any existing field, a Marten::DB::Errors::UnknownField
exception will be raised.