命名空間
- 模組 ActiveRecord::ConnectionAdapters::PostgreSQL::ColumnMethods
- 模組 ActiveRecord::ConnectionAdapters::PostgreSQL::DatabaseStatements
- 模組 ActiveRecord::ConnectionAdapters::PostgreSQL::OID
- 模組 ActiveRecord::ConnectionAdapters::PostgreSQL::Quoting
- 模組 ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements
- 類別 ActiveRecord::ConnectionAdapters::PostgreSQL::AlterTable
- 類別 ActiveRecord::ConnectionAdapters::PostgreSQL::Table
- 類別 ActiveRecord::ConnectionAdapters::PostgreSQL::TableDefinition
- 類別 ActiveRecord::ConnectionAdapters::PostgreSQL::TypeMetadata
常數
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(:資料表名稱, :列, :選項) do def 名稱 選項[:名稱] end def 延遲性 選項[:延遲性] end def 使用索引 選項[:使用索引] end def 可區別不為 null 選項[:可區別不為 null] end def 在架構傾印時輸出名稱? (除非名稱符合 ActiveRecord::SchemaDumper.unique_ignore_pattern,否則為 true) 如果名稱 end def 是否已定義 (名稱:無,列:無,**選項**)? (名稱為 nil 或 self.name 等於 name.to_s) 及 (column 為 nil 或 Array(self.column) 等於 Array(column).map(&:to_s)) 及 selected.options[k].to_s 等於 v.to_s |