module ArangoModel::Attributes

Direct including types

Defined in:

arango_model/attributes.cr

Constant 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

Macro Detail

macro __process_attributes #

[View source]
macro attribute(decl) #

specify the fields you want to define and types


[View source]
macro timestamps #

include created_at and updated_at that will automatically be updated


[View source]