Module: CsvFastImporter
- Defined in:
- lib/csv_fast_importer.rb,
lib/csv_fast_importer/import.rb,
lib/csv_fast_importer/configuration.rb,
lib/csv_fast_importer/database/mysql.rb,
lib/csv_fast_importer/database_factory.rb,
lib/csv_fast_importer/database/postgres.rb,
lib/csv_fast_importer/database/queryable.rb,
lib/csv_fast_importer/database_connection.rb
Defined Under Namespace
Modules: Database, DatabaseFactory Classes: Configuration, DatabaseConnection, Import
Class Method Summary collapse
Class Method Details
.import(file, parameters = {}) ⇒ Object
7 8 9 10 |
# File 'lib/csv_fast_importer.rb', line 7 def self.import(file, parameters = {}) configuration = CsvFastImporter::Configuration.new file, parameters CsvFastImporter::Import.new(configuration).run end |