Module: Torque::PostgreSQL::Inheritance::ClassMethods
- Included in:
- ActiveRecord::Base
- Defined in:
- sig/torque/postgresql/inheritance.rbs
Instance Method Summary collapse
- #_record_class_attribute ⇒ Symbol
- #_record_class_column_name ⇒ String
- #base_class ⇒ model
- #casted_dependents ⇒ dependents
- #compute_table_name ⇒ String, TableName
- #decorated_table_name ⇒ String
- #inheritance_column_prefix ⇒ String
- #inheritance_dependent_prefixes ⇒ Set[String]
- #inheritance_dependents ⇒ Array[String]
- #inheritance_expandable_dependents ⇒ dependents
- #inheritance_foreign_attribute_names ⇒ Set[String]
- #inheritance_mergeable_attributes ⇒ Array[String]
- #inheritance_merged_attributes ⇒ Array[String]
- #physically_inheritance_root ⇒ model
- #physically_inheritances? ⇒ Boolean
- #physically_inherited? ⇒ Boolean
- #primary_key ⇒ String, ...
- #raise_unable_to_cast ⇒ bot
- #reload_schema_from_cache ⇒ Object
- #reset_table_name ⇒ String, TableName
Instance Method Details
#_record_class_attribute ⇒ Symbol
12 |
# File 'sig/torque/postgresql/inheritance.rbs', line 12
def _record_class_attribute: () -> Symbol
|
#_record_class_column_name ⇒ String
13 |
# File 'sig/torque/postgresql/inheritance.rbs', line 13
def _record_class_column_name: () -> String
|
#base_class ⇒ model
27 |
# File 'sig/torque/postgresql/inheritance.rbs', line 27
def base_class: () -> model
|
#casted_dependents ⇒ dependents
23 |
# File 'sig/torque/postgresql/inheritance.rbs', line 23
def casted_dependents: () -> dependents
|
#compute_table_name ⇒ String, TableName
29 |
# File 'sig/torque/postgresql/inheritance.rbs', line 29
def compute_table_name: () -> (String | TableName)
|
#decorated_table_name ⇒ String
26 |
# File 'sig/torque/postgresql/inheritance.rbs', line 26
def decorated_table_name: () -> String
|
#inheritance_column_prefix ⇒ String
19 |
# File 'sig/torque/postgresql/inheritance.rbs', line 19
def inheritance_column_prefix: () -> String
|
#inheritance_dependent_prefixes ⇒ Set[String]
22 |
# File 'sig/torque/postgresql/inheritance.rbs', line 22
def inheritance_dependent_prefixes: () -> Set[String]
|
#inheritance_dependents ⇒ Array[String]
17 |
# File 'sig/torque/postgresql/inheritance.rbs', line 17
def inheritance_dependents: () -> Array[String]
|
#inheritance_expandable_dependents ⇒ dependents
24 |
# File 'sig/torque/postgresql/inheritance.rbs', line 24
def inheritance_expandable_dependents: () -> dependents
|
#inheritance_foreign_attribute_names ⇒ Set[String]
21 |
# File 'sig/torque/postgresql/inheritance.rbs', line 21
def inheritance_foreign_attribute_names: () -> Set[String]
|
#inheritance_mergeable_attributes ⇒ Array[String]
15 |
# File 'sig/torque/postgresql/inheritance.rbs', line 15
def inheritance_mergeable_attributes: () -> Array[String]
|
#inheritance_merged_attributes ⇒ Array[String]
14 |
# File 'sig/torque/postgresql/inheritance.rbs', line 14
def inheritance_merged_attributes: () -> Array[String]
|
#physically_inheritance_root ⇒ model
20 |
# File 'sig/torque/postgresql/inheritance.rbs', line 20
def physically_inheritance_root: () -> model
|
#physically_inheritances? ⇒ Boolean
18 |
# File 'sig/torque/postgresql/inheritance.rbs', line 18
def physically_inheritances?: () -> bool
|
#physically_inherited? ⇒ Boolean
16 |
# File 'sig/torque/postgresql/inheritance.rbs', line 16
def physically_inherited?: () -> bool
|
#primary_key ⇒ String, ...
28 |
# File 'sig/torque/postgresql/inheritance.rbs', line 28
def primary_key: () -> (String | Array[String] | nil)
|
#raise_unable_to_cast ⇒ bot
30 |
# File 'sig/torque/postgresql/inheritance.rbs', line 30
def raise_unable_to_cast: (String record_class_value) -> bot
|
#reload_schema_from_cache ⇒ Object
31 |
# File 'sig/torque/postgresql/inheritance.rbs', line 31
def reload_schema_from_cache: (?bool recursive) -> untyped
|
#reset_table_name ⇒ String, TableName
25 |
# File 'sig/torque/postgresql/inheritance.rbs', line 25
def reset_table_name: () -> (String | TableName)
|