class Orma::Attribute(T)

Defined in:

orma/attribute.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(model : ::Orma::Record.class, name : Symbol, value : T = nil) #

[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 ==(other : T) #

[View source]
def model : Orma::Record.class #

[View source]
def name : Symbol #

[View source]
def to_s(io) #

[View source]
def to_sql_insert_value(*args, **options) #

[View source]
def to_sql_insert_value(*args, **options, &) #

[View source]
def to_sql_update_value(*args, **options) #

[View source]
def to_sql_update_value(*args, **options, &) #

[View source]
def to_sql_where_condition(*args, **options) #

[View source]
def to_sql_where_condition(*args, **options, &) #

[View source]
def value : T #

[View source]
def value=(new_val : Attribute(T)) #

[View source]
def value=(value : T) #

[View source]