module Backfiller::Cursor
Public Class Methods
new(connection, *args)
click to toggle source
# 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