module Sandstone::ORM::Fields

Direct including types

Defined in:

sandstone/fields.cr

Constant Summary

TIME_FORMAT_REGEX = /\d{4,}-\d{2,}-\d{2,}\s\d{2,}:\d{2,}:\d{2,}/

Macro Summary

Macro Detail

macro __process_fields #

[View source]
macro field(decl) #

specify the fields you want to define and types


[View source]
macro no_timestamps #

[View source]
macro timestamps #

include created_at and updated_at that will automatically be updated


[View source]