Module: Sequel::Swift::Postgres::DatabaseMethods
- Extended by:
- Database::ResetIdentifierMangling
- Includes:
- Postgres::DatabaseMethods
- Defined in:
- lib/sequel/adapters/swift/postgres.rb
Overview
Methods to add to Database instances that access PostgreSQL via Swift.
Constant Summary
Constants included from Postgres::DatabaseMethods
Postgres::DatabaseMethods::FOREIGN_KEY_LIST_ON_DELETE_MAP, Postgres::DatabaseMethods::ON_COMMIT, Postgres::DatabaseMethods::POSTGRES_DEFAULT_RE, Postgres::DatabaseMethods::PREPARED_ARG_PLACEHOLDER, Postgres::DatabaseMethods::RE_CURRVAL_ERROR, Postgres::DatabaseMethods::SELECT_CUSTOM_SEQUENCE_SQL, Postgres::DatabaseMethods::SELECT_PK_SQL, Postgres::DatabaseMethods::SELECT_SERIAL_SEQUENCE_SQL, Postgres::DatabaseMethods::UNLOGGED
Instance Attribute Summary
Attributes included from Postgres::DatabaseMethods
Class Method Summary collapse
-
.extended(db) ⇒ Object
Add the primary_keys and primary_key_sequences instance variables, so we can get the correct return values for inserted rows.
Methods included from Database::ResetIdentifierMangling
Methods included from Postgres::DatabaseMethods
#commit_prepared_transaction, #create_function, #create_language, #create_schema, #create_trigger, #database_type, #do, #drop_function, #drop_language, #drop_schema, #drop_trigger, #foreign_key_list, #indexes, #locks, #notify, #primary_key, #primary_key_sequence, #refresh_view, #reset_conversion_procs, #reset_primary_key_sequence, #rollback_prepared_transaction, #serial_primary_key_options, #server_version, #supports_create_table_if_not_exists?, #supports_deferrable_constraints?, #supports_deferrable_foreign_key_constraints?, #supports_drop_table_if_exists?, #supports_partial_indexes?, #supports_prepared_transactions?, #supports_savepoints?, #supports_transaction_isolation_levels?, #supports_transactional_ddl?, #supports_trigger_conditions?, #tables, #type_supported?, #values, #views
Class Method Details
.extended(db) ⇒ Object
Add the primary_keys and primary_key_sequences instance variables, so we can get the correct return values for inserted rows.
18 19 20 21 |
# File 'lib/sequel/adapters/swift/postgres.rb', line 18 def self.extended(db) super db.send(:initialize_postgres_adapter) end |