module ActiveRecord::ConnectionAdapters::PostgreSQL
Constants
ExclusionConstraintDefinition |
= | Struct.new(:table_name, :expression, :options) do def name options[:name] end def using options[:using] end def where options[:where] end def deferrable options[:deferrable] end def export_name_on_schema_dump? !ActiveRecord::SchemaDumper.excl_ignore_pattern.match?(name) if name end end |
UniqueConstraintDefinition |
= | Struct.new(:table_name, :column, :options) do def name options[:name] end def deferrable options[:deferrable] end def using_index options[:using_index] end def export_name_on_schema_dump? !ActiveRecord::SchemaDumper.unique_ignore_pattern.match?(name) if name end def defined_for?(name: nil, column: nil, **options) (name.nil? || self.name == name.to_s) && (column.nil? || Array(self.column) == Array(column).map(&:to_s)) && options.all? { |k, v| self.options[k].to_s == v.to_s } end end |
Namespace
ActiveRecord::
ConnectionAdapters:: PostgreSQL:: AlterTable ActiveRecord::
ConnectionAdapters:: PostgreSQL:: ColumnMethods ActiveRecord::
ConnectionAdapters:: PostgreSQL:: DatabaseStatements ActiveRecord::
ConnectionAdapters:: PostgreSQL:: OID ActiveRecord::
ConnectionAdapters:: PostgreSQL:: Quoting ActiveRecord::
ConnectionAdapters:: PostgreSQL:: SchemaStatements ActiveRecord::
ConnectionAdapters:: PostgreSQL:: Table ActiveRecord::
ConnectionAdapters:: PostgreSQL:: TableDefinition ActiveRecord::
ConnectionAdapters:: PostgreSQL:: TypeMetadata
Definition files
activerecord/
lib/ active_record/ connection_adapters/ postgresql/ column.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ database_statements.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ explain_pretty_printer.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ array.rb
33 More Less
activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ bit.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ bit_varying.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ bytea.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ cidr.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ date.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ date_time.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ decimal.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ enum.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ hstore.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ inet.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ interval.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ jsonb.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ legacy_point.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ macaddr.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ money.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ oid.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ point.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ range.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ specialized_string.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ timestamp.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ timestamp_with_time_zone.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ type_map_initializer.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ uuid.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ vector.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ oid/ xml.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ quoting.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ referential_integrity.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ schema_creation.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ schema_definitions.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ schema_dumper.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ schema_statements.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ type_metadata.rb activerecord/
lib/ active_record/ connection_adapters/ postgresql/ utils.rb