def self.primary_key_column_statement
#
abstract class Orma::Record
- Orma::Record
- Reference
- Object
Defined in:
orma/record.crorma/record/from_http_params.cr
Constructors
Class Method Summary
- .add_observer(&block : Orma::Record -> Nil)
- .all
- .column_deprecation_statements
- .conditions_string(conditions)
- .continuous_migration!
- .db
- .db_adapter
- .db_connection_string
- .db_type_for(klass)
- .deprecate_columns!
- .ensure_columns_exist!
- .ensure_table_exists!
- .find(id)
- .from_http_params(str : String)
- .load_many_from_result(res)
- .notify_observers(instance)
- .primary_key_column_statement
- .query_column_names
- .query_one(sql)
- .table_creation_sql
- .table_name
- .where(conditions)
Macro Summary
- _column(type_decl)
- _define_setter(type_decl)
- column(type_decl)
- column_values
- db_column_statements
- deprecated_column(type_decl)
- has_many_of(klass)
- id_column(type_decl)
- password_column(name)
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #assign_http_params(params)
- #db
- #id
- #insert_record
- #load_one_from_result(res)
- #notify_observers
- #save
- #table_name
- #update_record
Constructor Detail
Class Method Detail
Macro Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.