Class Amalgalite::CSVTableImporter
In: lib/amalgalite/csv_table_importer.rb
lib/amalgalite/csv_table_importer.rb
Parent: Object

A class to deal with importing CSV data into a single table in the database.

Methods

Public Class methods

Public Instance methods

The column names of the import table in definiation order

The column names of the import table in definiation order

The columns used for the insertion. This is either column_names or the value out of @options[:headers] if that value is an Array

The columns used for the insertion. This is either column_names or the value out of @options[:headers] if that value is an Array

The prepared statement SQL that is used for the import

The prepared statement SQL that is used for the import

validate that the arguments for initialization are valid and that the run method will probably execute

validate that the arguments for initialization are valid and that the run method will probably execute

[Validate]