Class QuickCsvImporter
Module to import CSV very fast
- Import your CSV data directly into a new/existing temporary table with an RDB-specific API.
- Validation of input values and correlation record check are confirmed by executing SQL.
- To move data from the temporary table to the final table, execute a normal INSERT / UPDATE queries.
-
Kanryu\QuickCsv\QuickCsvImporter
-
Kanryu\QuickCsv\MySQL\QuickCsvImporter
Methods inherited from Kanryu\QuickCsv\QuickCsvImporter
__construct(),
create(),
execQuery(),
getNotDefaultFormula(),
import(),
insertNonExistingRecords(),
setFieldSchema(),
setPdo(),
setProperties(),
setQueryCallback(),
setValidator(),
setValidatorForType(),
updateExistingRecords(),
updateFieldNumberByAutoCount(),
updateFieldNumberByAutoCountWithPrefix(),
validateAllFields(),
validateBase(),
validateDuplicatedId(),
validateNonExistForeignKey()
|
Properties inherited from Kanryu\QuickCsv\QuickCsvImporter
$asTemporary,
$csvCharCode,
$csvEncloser,
$csvLineSep,
$csvLineStart,
$csvRecordId,
$csvSeparator,
$dataTableName,
$destPrimaryKey,
$destTableName,
$dumpSql,
$fieldMap,
$fieldSchema,
$hasCsvHeader,
$pdo,
$query_callback,
$tableCharCode,
$validatorTypes,
$validators
|