Class: ActiveRecord::Base
- Inherits:
-
Object
- Object
- ActiveRecord::Base
show all
- Extended by:
- Torque::PostgreSQL::AutosaveAssociation::ClassMethods, Torque::PostgreSQL::Base::ClassMethods, Torque::PostgreSQL::Inheritance::ClassMethods
- Includes:
- Torque::PostgreSQL::AutosaveAssociation, Torque::PostgreSQL::Base, Torque::PostgreSQL::Inheritance, Torque::PostgreSQL::Inheritance::Record, Torque::PostgreSQL::Validations
- Defined in:
- sig/torque/postgresql/inheritance.rbs,
sig/torque/postgresql/validations.rbs,
sig/torque/postgresql/attributes/enum.rbs,
sig/torque/postgresql/attributes/period.rbs,
sig/torque/postgresql/attributes/struct.rbs,
sig/torque/postgresql/attributes/enum_set.rbs,
sig/torque/postgresql/relation/cross_join.rbs,
sig/torque/postgresql/autosave_association.rbs,
sig/torque/postgresql/attributes/full_text_search.rbs,
sig/torque/postgresql/base.rbs
Class Method Summary
collapse
Instance Method Summary
collapse
_record_class_attribute, _record_class_column_name, base_class, casted_dependents, compute_table_name, decorated_table_name, inheritance_column_prefix, inheritance_dependent_prefixes, inheritance_dependents, inheritance_expandable_dependents, inheritance_foreign_attribute_names, inheritance_mergeable_attributes, inheritance_merged_attributes, physically_inheritance_root, physically_inheritances?, physically_inherited?, primary_key, raise_unable_to_cast, reload_schema_from_cache, reset_table_name
add_autosave_association_callbacks
arel_property_of, auxiliary_statement, belongs_to_many, buckets, distinct_on, dynamic_attribute, expand_records, inherited, itself_only, join_series, load_schema!, recursive_auxiliary_statement, reset_table_name, segments, with
#destroy, #partial_record?, #reload
#save_belongs_to_many_association
Class Method Details
38
|
# File 'sig/torque/postgresql/base.rbs', line 38
def self.auxiliary_statements_list: () -> Hash[Symbol, singleton(Torque::PostgreSQL::AuxiliaryStatement)]
|
39
|
# File 'sig/torque/postgresql/base.rbs', line 39
def self.auxiliary_statements_list=: (Hash[Symbol, singleton(Torque::PostgreSQL::AuxiliaryStatement)] value) -> Hash[Symbol, singleton(Torque::PostgreSQL::AuxiliaryStatement)]
|
.belongs_to_many_required_by_default ⇒ Boolean?
33
|
# File 'sig/torque/postgresql/base.rbs', line 33
def self.belongs_to_many_required_by_default: () -> bool?
|
.belongs_to_many_required_by_default= ⇒ Boolean?
34
|
# File 'sig/torque/postgresql/base.rbs', line 34
def self.belongs_to_many_required_by_default=: (bool? value) -> bool?
|
62
|
# File 'sig/torque/postgresql/relation/cross_join.rbs', line 62
def self.cross_join: (untyped source, as: Torque::PostgreSQL::column_ref, ?columns: Array[Torque::PostgreSQL::column_ref]?, ?mode: Symbol | String, ?with_ordinality: Torque::PostgreSQL::Relation::CrossJoin::ordinality) -> ActiveRecord::Relation
|
.period_for ⇒ Object
12
|
# File 'sig/torque/postgresql/attributes/period.rbs', line 12
def self.period_for: (*Torque::PostgreSQL::column_ref attributes, ?pessimistic: bool, ?threshold: bool | Torque::PostgreSQL::column_ref | ActiveSupport::Duration | Numeric, ?methods: Hash[Symbol, Torque::PostgreSQL::column_ref], ?prefixed: bool, ?force: bool) -> untyped
|
.schema ⇒ String, ...
35
|
# File 'sig/torque/postgresql/base.rbs', line 35
def self.schema: () -> (String | Symbol | nil)
|
.schema= ⇒ String, ...
36
|
# File 'sig/torque/postgresql/base.rbs', line 36
def self.schema=: (String | Symbol | nil value) -> (String | Symbol | nil)
|
.struct_for ⇒ Object
37
|
# File 'sig/torque/postgresql/attributes/struct.rbs', line 37
def self.struct_for: (Torque::PostgreSQL::column_ref column, Torque::PostgreSQL::Attributes::Struct::struct_class struct_klass, ?default: untyped, ?array: bool?, ?delegate: Torque::PostgreSQL::Attributes::Struct::delegate, ?backfill: Torque::PostgreSQL::Adapter::OID::Struct::backfill, ?strict: bool?) -> untyped
|
.torque_enum ⇒ Object
68
|
# File 'sig/torque/postgresql/attributes/enum.rbs', line 68
def self.torque_enum: (*Torque::PostgreSQL::column_ref attributes, ?only: Array[Torque::PostgreSQL::column_ref] | Torque::PostgreSQL::column_ref, ?except: Array[Torque::PostgreSQL::column_ref] | Torque::PostgreSQL::column_ref, ?prefix: bool | Torque::PostgreSQL::column_ref, ?suffix: bool | Torque::PostgreSQL::column_ref, ?force: bool) -> untyped
|
.torque_enum_set ⇒ Object
74
|
# File 'sig/torque/postgresql/attributes/enum_set.rbs', line 74
def self.torque_enum_set: (*Torque::PostgreSQL::column_ref attributes, ?only: Array[Torque::PostgreSQL::column_ref] | Torque::PostgreSQL::column_ref, ?except: Array[Torque::PostgreSQL::column_ref] | Torque::PostgreSQL::column_ref, ?prefix: bool | Torque::PostgreSQL::column_ref, ?suffix: bool | Torque::PostgreSQL::column_ref, ?force: bool) -> untyped
|
.torque_search_for ⇒ Object
12
|
# File 'sig/torque/postgresql/attributes/full_text_search.rbs', line 12
def self.torque_search_for: (*Torque::PostgreSQL::column_ref attributes, ?with_rank: bool | Torque::PostgreSQL::column_ref, ?mode: Symbol, ?order: bool | Symbol, ?language: String | Symbol, ?prefix: Torque::PostgreSQL::column_ref, ?suffix: Torque::PostgreSQL::column_ref, ?force: bool) -> untyped
|
Instance Method Details
40
|
# File 'sig/torque/postgresql/base.rbs', line 40
def auxiliary_statements_list: () -> Hash[Symbol, singleton(Torque::PostgreSQL::AuxiliaryStatement)]
|
#schema ⇒ String, ...
37
|
# File 'sig/torque/postgresql/base.rbs', line 37
def schema: () -> (String | Symbol | nil)
|