Module: Torque::PostgreSQL
- Includes:
- AutosaveAssociation::ClassMethods, Reflection
- Defined in:
- lib/torque/postgresql/base.rb,
lib/torque/postgresql/i18n.rb,
lib/torque/postgresql/config.rb,
lib/torque/postgresql/adapter.rb,
lib/torque/postgresql/railtie.rb,
lib/torque/postgresql/version.rb,
lib/torque/postgresql/function.rb,
lib/torque/postgresql/relation.rb,
lib/torque/postgresql/collector.rb,
lib/torque/postgresql/arel/nodes.rb,
lib/torque/postgresql/insert_all.rb,
lib/torque/postgresql/reflection.rb,
lib/torque/postgresql/table_name.rb,
lib/torque/postgresql/adapter/oid.rb,
lib/torque/postgresql/inheritance.rb,
lib/torque/postgresql/validations.rb,
lib/torque/postgresql/schema_cache.rb,
lib/torque/postgresql/arel/visitors.rb,
lib/torque/postgresql/adapter/oid/box.rb,
lib/torque/postgresql/adapter/quoting.rb,
lib/torque/postgresql/arel/operations.rb,
lib/torque/postgresql/attributes/base.rb,
lib/torque/postgresql/attributes/enum.rb,
lib/torque/postgresql/attributes/lazy.rb,
lib/torque/postgresql/predicate_table.rb,
lib/torque/postgresql/relation/merger.rb,
lib/torque/postgresql/adapter/oid/enum.rb,
lib/torque/postgresql/adapter/oid/line.rb,
lib/torque/postgresql/arel/join_source.rb,
lib/torque/postgresql/attributes/ltree.rb,
lib/torque/postgresql/geometry_builder.rb,
lib/torque/postgresql/relation/buckets.rb,
lib/torque/postgresql/adapter/oid/array.rb,
lib/torque/postgresql/adapter/oid/ltree.rb,
lib/torque/postgresql/adapter/oid/range.rb,
lib/torque/postgresql/attributes/lquery.rb,
lib/torque/postgresql/attributes/period.rb,
lib/torque/postgresql/attributes/struct.rb,
lib/torque/postgresql/predicate_builder.rb,
lib/torque/postgresql/relation/segments.rb,
lib/torque/postgresql/adapter/oid/circle.rb,
lib/torque/postgresql/adapter/oid/lquery.rb,
lib/torque/postgresql/adapter/oid/struct.rb,
lib/torque/postgresql/attributes/builder.rb,
lib/torque/postgresql/inheritance/record.rb,
lib/torque/postgresql/versioned_commands.rb,
lib/torque/postgresql/adapter/oid/segment.rb,
lib/torque/postgresql/arel/select_manager.rb,
lib/torque/postgresql/attributes/enum_set.rb,
lib/torque/postgresql/auxiliary_statement.rb,
lib/torque/postgresql/relation/cross_join.rb,
lib/torque/postgresql/adapter/oid/enum_set.rb,
lib/torque/postgresql/adapter/oid/interval.rb,
lib/torque/postgresql/arel/infix_operation.rb,
lib/torque/postgresql/attributes/composite.rb,
lib/torque/postgresql/autosave_association.rb,
lib/torque/postgresql/inheritance/expander.rb,
lib/torque/postgresql/relation/distinct_on.rb,
lib/torque/postgresql/relation/inheritance.rb,
lib/torque/postgresql/relation/join_series.rb,
lib/torque/postgresql/adapter/oid/composite.rb,
lib/torque/postgresql/adapter/schema_dumper.rb,
lib/torque/postgresql/adapter/oid/struct_set.rb,
lib/torque/postgresql/attributes/simple_enum.rb,
lib/torque/postgresql/adapter/oid/struct_list.rb,
lib/torque/postgresql/adapter/schema_creation.rb,
lib/torque/postgresql/attributes/builder/enum.rb,
lib/torque/postgresql/adapter/schema_overrides.rb,
lib/torque/postgresql/schema_cache/inheritance.rb,
lib/torque/postgresql/adapter/schema_statements.rb,
lib/torque/postgresql/attributes/builder/period.rb,
lib/torque/postgresql/adapter/schema_definitions.rb,
lib/torque/postgresql/migration/command_recorder.rb,
lib/torque/postgresql/adapter/database_statements.rb,
lib/torque/postgresql/attributes/full_text_search.rb,
lib/torque/postgresql/versioned_commands/migrator.rb,
lib/torque/postgresql/associations/join_dependency.rb,
lib/torque/postgresql/auxiliary_statement/settings.rb,
lib/torque/postgresql/relation/auxiliary_statement.rb,
lib/torque/postgresql/versioned_commands/generator.rb,
lib/torque/postgresql/associations/builder/has_many.rb,
lib/torque/postgresql/auxiliary_statement/recursive.rb,
lib/torque/postgresql/reflection/runtime_reflection.rb,
lib/torque/postgresql/reflection/through_reflection.rb,
lib/torque/postgresql/adapter/inheritance_statements.rb,
lib/torque/postgresql/associations/association_scope.rb,
lib/torque/postgresql/reflection/abstract_reflection.rb,
lib/torque/postgresql/reflection/has_many_reflection.rb,
lib/torque/postgresql/schema_cache/schema_reflection.rb,
lib/torque/postgresql/predicate_builder/array_handler.rb,
lib/torque/postgresql/predicate_builder/ltree_handler.rb,
lib/torque/postgresql/versioned_commands/schema_table.rb,
lib/torque/postgresql/associations/foreign_association.rb,
lib/torque/postgresql/predicate_builder/regexp_handler.rb,
lib/torque/postgresql/predicate_builder/struct_handler.rb,
lib/torque/postgresql/reflection/association_reflection.rb,
lib/torque/postgresql/associations/preloader/association.rb,
lib/torque/postgresql/associations/preloader/loader_query.rb,
lib/torque/postgresql/attributes/builder/full_text_search.rb,
lib/torque/postgresql/predicate_builder/composite_handler.rb,
lib/torque/postgresql/associations/builder/belongs_to_many.rb,
lib/torque/postgresql/schema_cache/bound_schema_reflection.rb,
lib/torque/postgresql/versioned_commands/command_migration.rb,
lib/torque/postgresql/versioned_commands/migration_context.rb,
lib/torque/postgresql/reflection/belongs_to_many_reflection.rb,
lib/torque/postgresql/associations/belongs_to_many_association.rb,
lib/torque/postgresql/predicate_builder/arel_attribute_handler.rb,
lib/torque/postgresql/predicate_builder/enumerator_lazy_handler.rb,
sig/torque/postgresql.rbs,
sig/torque/postgresql/arel.rbs,
sig/torque/postgresql/base.rbs,
sig/torque/postgresql/i18n.rbs,
sig/torque/postgresql/config.rbs,
sig/torque/postgresql/adapter.rbs,
sig/torque/postgresql/railtie.rbs,
sig/torque/postgresql/version.rbs,
sig/torque/postgresql/function.rbs,
sig/torque/postgresql/relation.rbs,
sig/torque/postgresql/collector.rbs,
sig/torque/postgresql/migration.rbs,
sig/torque/postgresql/arel/nodes.rbs,
sig/torque/postgresql/attributes.rbs,
sig/torque/postgresql/insert_all.rbs,
sig/torque/postgresql/reflection.rbs,
sig/torque/postgresql/table_name.rbs,
sig/torque/postgresql/adapter/oid.rbs,
sig/torque/postgresql/inheritance.rbs,
sig/torque/postgresql/validations.rbs,
sig/torque/postgresql/associations.rbs,
sig/torque/postgresql/schema_cache.rbs,
sig/torque/postgresql/arel/visitors.rbs,
sig/torque/postgresql/adapter/oid/box.rbs,
sig/torque/postgresql/adapter/quoting.rbs,
sig/torque/postgresql/arel/operations.rbs,
sig/torque/postgresql/attributes/base.rbs,
sig/torque/postgresql/attributes/enum.rbs,
sig/torque/postgresql/attributes/lazy.rbs,
sig/torque/postgresql/predicate_table.rbs,
sig/torque/postgresql/relation/merger.rbs,
sig/torque/postgresql/adapter/oid/enum.rbs,
sig/torque/postgresql/adapter/oid/line.rbs,
sig/torque/postgresql/arel/join_source.rbs,
sig/torque/postgresql/attributes/ltree.rbs,
sig/torque/postgresql/geometry_builder.rbs,
sig/torque/postgresql/relation/buckets.rbs,
sig/torque/postgresql/adapter/oid/array.rbs,
sig/torque/postgresql/adapter/oid/ltree.rbs,
sig/torque/postgresql/adapter/oid/range.rbs,
sig/torque/postgresql/attributes/lquery.rbs,
sig/torque/postgresql/attributes/period.rbs,
sig/torque/postgresql/attributes/struct.rbs,
sig/torque/postgresql/predicate_builder.rbs,
sig/torque/postgresql/relation/segments.rbs,
sig/torque/postgresql/adapter/oid/circle.rbs,
sig/torque/postgresql/adapter/oid/lquery.rbs,
sig/torque/postgresql/adapter/oid/struct.rbs,
sig/torque/postgresql/attributes/builder.rbs,
sig/torque/postgresql/inheritance/record.rbs,
sig/torque/postgresql/versioned_commands.rbs,
sig/torque/postgresql/adapter/oid/segment.rbs,
sig/torque/postgresql/arel/select_manager.rbs,
sig/torque/postgresql/attributes/enum_set.rbs,
sig/torque/postgresql/auxiliary_statement.rbs,
sig/torque/postgresql/relation/cross_join.rbs,
sig/torque/postgresql/adapter/oid/enum_set.rbs,
sig/torque/postgresql/adapter/oid/interval.rbs,
sig/torque/postgresql/arel/infix_operation.rbs,
sig/torque/postgresql/associations/builder.rbs,
sig/torque/postgresql/attributes/composite.rbs,
sig/torque/postgresql/autosave_association.rbs,
sig/torque/postgresql/inheritance/expander.rbs,
sig/torque/postgresql/relation/distinct_on.rbs,
sig/torque/postgresql/relation/inheritance.rbs,
sig/torque/postgresql/relation/join_series.rbs,
sig/torque/postgresql/adapter/oid/composite.rbs,
sig/torque/postgresql/adapter/schema_dumper.rbs,
sig/torque/postgresql/adapter/oid/struct_set.rbs,
sig/torque/postgresql/associations/preloader.rbs,
sig/torque/postgresql/attributes/simple_enum.rbs,
sig/torque/postgresql/adapter/oid/struct_list.rbs,
sig/torque/postgresql/adapter/schema_creation.rbs,
sig/torque/postgresql/attributes/builder/enum.rbs,
sig/torque/postgresql/adapter/schema_overrides.rbs,
sig/torque/postgresql/schema_cache/inheritance.rbs,
sig/torque/postgresql/adapter/schema_statements.rbs,
sig/torque/postgresql/attributes/builder/period.rbs,
sig/torque/postgresql/adapter/schema_definitions.rbs,
sig/torque/postgresql/migration/command_recorder.rbs,
sig/torque/postgresql/adapter/database_statements.rbs,
sig/torque/postgresql/attributes/full_text_search.rbs,
sig/torque/postgresql/versioned_commands/migrator.rbs,
sig/torque/postgresql/associations/join_dependency.rbs,
sig/torque/postgresql/auxiliary_statement/settings.rbs,
sig/torque/postgresql/relation/auxiliary_statement.rbs,
sig/torque/postgresql/versioned_commands/generator.rbs,
sig/torque/postgresql/associations/builder/has_many.rbs,
sig/torque/postgresql/auxiliary_statement/recursive.rbs,
sig/torque/postgresql/reflection/runtime_reflection.rbs,
sig/torque/postgresql/reflection/through_reflection.rbs,
sig/torque/postgresql/adapter/inheritance_statements.rbs,
sig/torque/postgresql/associations/association_scope.rbs,
sig/torque/postgresql/reflection/abstract_reflection.rbs,
sig/torque/postgresql/reflection/has_many_reflection.rbs,
sig/torque/postgresql/schema_cache/schema_reflection.rbs,
sig/torque/postgresql/predicate_builder/array_handler.rbs,
sig/torque/postgresql/predicate_builder/ltree_handler.rbs,
sig/torque/postgresql/versioned_commands/schema_table.rbs,
sig/torque/postgresql/associations/foreign_association.rbs,
sig/torque/postgresql/predicate_builder/regexp_handler.rbs,
sig/torque/postgresql/predicate_builder/struct_handler.rbs,
sig/torque/postgresql/reflection/association_reflection.rbs,
sig/torque/postgresql/associations/preloader/association.rbs,
sig/torque/postgresql/associations/preloader/loader_query.rbs,
sig/torque/postgresql/attributes/builder/full_text_search.rbs,
sig/torque/postgresql/predicate_builder/composite_handler.rbs,
sig/torque/postgresql/associations/builder/belongs_to_many.rbs,
sig/torque/postgresql/schema_cache/bound_schema_reflection.rbs,
sig/torque/postgresql/versioned_commands/command_migration.rbs,
sig/torque/postgresql/versioned_commands/migration_context.rbs,
sig/torque/postgresql/reflection/belongs_to_many_reflection.rbs,
sig/torque/postgresql/associations/belongs_to_many_association.rbs,
sig/torque/postgresql/predicate_builder/arel_attribute_handler.rbs,
sig/torque/postgresql/predicate_builder/enumerator_lazy_handler.rbs
Defined Under Namespace
Modules: Adapter, Arel, Associations, Attributes, AutosaveAssociation, Base, BoundSchemaReflection, Collector, Function, I18n, Inheritance, InsertAll, Migration, PredicateBuilder, Reflection, Relation, SchemaCache, SchemaReflection, Validations, VersionedCommands, _Callable Classes: AuxiliaryStatement, Box, Circle, GeometryBuilder, IllegalCommandTypeError, InheritanceError, Line, LookupError, PredicateTable, Railtie, Segment, TableName
Constant Summary collapse
- AR810 =
Stores a version check for compatibility purposes
(ActiveRecord.gem_version >= Gem::Version.new('8.1.0'))
- VERSION =
'4.1.1'- FN =
Function- LTree =
Attributes::LTree
- LQuery =
Attributes::LQuery
- Struct =
Attributes::Struct
- Composite =
Attributes::Composite
Class Method Summary collapse
- .config ⇒ ActiveSupport::InheritableOptions
- .configure {|config| ... } ⇒ void
-
.logger ⇒ Object
Use the same logger as the Active Record one.
Methods included from Reflection
Methods included from AutosaveAssociation::ClassMethods
#add_autosave_association_callbacks
Class Method Details
.config ⇒ ActiveSupport::InheritableOptions
9 10 11 |
# File 'lib/torque/postgresql/config.rb', line 9 def config @config ||= ActiveSupport::InheritableOptions.new end |
.configure {|config| ... } ⇒ void
This method returns an undefined value.
13 14 15 |
# File 'lib/torque/postgresql/config.rb', line 13 def configure yield config end |
.logger ⇒ Object
Use the same logger as the Active Record one
18 19 20 |
# File 'lib/torque/postgresql/config.rb', line 18 def logger ActiveRecord::Base.logger end |