abstract class Crumble::ORM

Defined in:

orm/orm.cr

Class Method Summary

Instance Method Summary

Macro Summary

Class Method Detail

def self.all #

[View source]
def self.conditions_string(conditions) #

[View source]
def self.db #

[View source]
def self.find(id) #

[View source]
def self.load_many_from_result(res) #

[View source]
def self.query_many(sql) #

[View source]
def self.query_one(sql) #

[View source]
def self.table_name #

[View source]
def self.where(conditions) #

[View source]

Instance Method Detail

def db #

[View source]
def insert_record #

[View source]
def load_one_from_result(res) #

[View source]
def save #

[View source]
def table_name #

[View source]
def update_record #

[View source]

Macro Detail

macro column(type_decl) #

[View source]
macro column_values #

[View source]
macro id_column(type_decl) #

[View source]