lib/table_saw/formats/copy.rb in table_saw-3.0.0 vs lib/table_saw/formats/copy.rb in table_saw-3.1.0
- old
+ new
@@ -18,15 +18,11 @@
private
def quoted_columns
TableSaw.schema_cache.columns_hash(table_name)
.each_key
- .map { |name| connection.quote_column_name(name) }
+ .map { |name| TableSaw::Connection.adapter.quote_column_name(name) }
.join(', ')
- end
-
- def connection
- TableSaw.schema_cache.connection
end
end
end
end