def primary_key_value
#
module Granite::Columns
Direct including types
Defined in:
granite/columns.crMacro Summary
-
column(decl, **options)
Defines a column decl with the given options.
-
timestamps
include created_at and updated_at that will automatically be updated
Instance Method Summary
- #content_values : Array(Granite::Columns::Type)
-
#from_rs(result : DB::ResultSet) : Nil
Consumes the result set to set self's property values.
- #primary_key_value
- #read_attribute(attribute_name : Symbol | String) : Type
- #set_attributes(hash : Hash(String | Symbol, T)) : self forall T
- #to_h