Module: Semian::ActiveRecordPostgreSQLAdapter
- Includes:
- ActiveRecordAdapter, Adapter
- Included in:
- ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
- Defined in:
- lib/semian/activerecord_postgresql_adapter.rb
Constant Summary
Constants included from ActiveRecordAdapter
Semian::ActiveRecordAdapter::QUERY_ALLOWLIST
Class Method Summary collapse
Instance Method Summary collapse
Methods included from ActiveRecordAdapter
#active?, #execute_intent, included, #initialize, #raw_execute
Methods included from Adapter
#clear_semian_resource, #semian_identifier, #semian_resource
Class Method Details
.prepended(base) ⇒ Object
30 31 32 |
# File 'lib/semian/activerecord_postgresql_adapter.rb', line 30 def prepended(base) base.extend(Semian::ActiveRecordAdapter::ClassMethods) end |
Instance Method Details
#with_resource_timeout(_temp_timeout) ⇒ Object
35 36 37 38 39 |
# File 'lib/semian/activerecord_postgresql_adapter.rb', line 35 def with_resource_timeout(_temp_timeout) # Resource timeouts aren't possible with PostgreSQL because there is no # IO level timeout configuration, so we just yield. yield end |