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(db_res : DB::ResultSet | FakeResult) #

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

[View source]
def self.new(**args : **T) forall T #

[View source]

Class Method Detail

def self.all #

[View source]
def self.continuous_migration! #

[View source]
def self.db #

[View source]
def self.db_connection_string #

[View source]
def self.deprecate_columns! #

[View source]
def self.ensure_columns_exist! #

[View source]
def self.ensure_table_exists! #

[View source]
def self.ensure_unique_indexes_exist! #

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

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

[View source]
def self.table_name #

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

[View source]

Macro Detail

macro column(type_decl, unique = false) #

[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 save #

[View source]
def table_name #

[View source]