abstract class Orma::Record

Defined in:

orma/record.cr
orma/record/from_http_params.cr

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Constructor Detail

def self.new #

[View source]
def self.new(*, __http_params : String) #

[View source]

Class Method Detail

def self.add_observer(&block : Orma::Record -> Nil) #

[View source]
def self.all #

[View source]
def self.column_deprecation_statements #

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

[View source]
def self.continuous_migration! #

[View source]
def self.db #

[View source]
def self.db_adapter #

[View source]
def self.db_connection_string #

[View source]
def self.db_type_for(klass) #

[View source]
def self.deprecate_columns! #

[View source]
def self.ensure_columns_exist! #

[View source]
def self.ensure_table_exists! #

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

[View source]
def self.from_http_params(str : String) #

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

[View source]
def self.notify_observers(instance) #

[View source]
def self.primary_key_column_statement #

[View source]
def self.query_column_names #

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

[View source]
def self.table_creation_sql #

[View source]
def self.table_name #

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

[View source]

Macro Detail

macro _column(type_decl) #

[View source]
macro _define_setter(type_decl) #

[View source]
macro column(type_decl) #

[View source]
macro column_values #

[View source]
macro db_column_statements #

[View source]
macro deprecated_column(type_decl) #

[View source]
macro has_many_of(klass) #

[View source]
macro id_column(type_decl) #

[View source]
macro password_column(name) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


[View source]
def assign_http_params(params) #

[View source]
def db #

[View source]
abstract def id #

[View source]
def insert_record #

[View source]
def load_one_from_result(res) #

[View source]
def notify_observers #

[View source]
def save #

[View source]
def table_name #

[View source]
def update_record #

[View source]