abstract class BaseModel

Included Modules

Direct Known Subclasses

Defined in:

lib/shield/src/presets/common.cr
models/base_model.cr

Constant Summary

ASSOCIATIONS = [] of Nil
COLUMNS = [] of Nil

Constructors

Class Method Summary

Macro Summary

Constructor Detail

def self.new(rs : DB::ResultSet) #

Class Method Detail

def self.database : Avram::Database.class #

[View source]
def self.from_rs(rs : DB::ResultSet) #

Macro Detail

macro default_columns #

[View source]