Module: Backfiller::Cursor
- Defined in:
- lib/backfiller/cursor.rb,
lib/backfiller/cursor/postgresql.rb
Defined Under Namespace
Classes: Postgresql
Class Method Summary collapse
Class Method Details
.new(connection, *args) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/backfiller/cursor.rb', line 7 def self.new(connection, *args) case connection when ActiveRecord::ConnectionAdapters::PostgreSQLAdapter Backfiller::Cursor::Postgresql.new(connection, *args) else raise "Unsupported connection #{connection.inspect}" end end |