module ArangoModel::Attributes
Direct including types
Defined in:
arango_model/attributes.crConstant Summary
-
TIME_FORMAT_REGEX =
/\d{4,}-\d{2,}-\d{2,}\s\d{2,}:\d{2,}:\d{2,}/
-
Type = Any
-
TYPES =
[Nil, String, Bool, Int32, Int64, Float32, Float64, Time, Bytes, JSON::Any, Array(String), Hash(String, String)]
Macro Summary
- __process_attributes
-
attribute(decl)
specify the fields you want to define and types
-
timestamps
include created_at and updated_at that will automatically be updated