ePages 6.11.0 - DE_EPAGES/ShopTransfer/API/Import.pm

Package DE_EPAGES::ShopTransfer::API::Import

Functions

ImportTable
isDynamicTable

ImportTable

Imports table to database.

Syntax
$BcpExitCode = $import->ImportTable($Table, $ShopAlias, $hOptions);
Input
$Table (string)
table name
$ShopAlias (string)
shop alias
$hOptions (ref.hash)
options, keys: versions, storePath, db_name, bcpParameter, encoding
Return
$BcpExitCode (integer)
exit code

isDynamicTable

returns true if the tables has own primary key, without _nextid table.

Syntax
$IsDynamic= $import->isDynamicTable($Table);
Input
$Table (string)
table name
Return
$IsDynamic (boolean)
has own primary key, without _nextid table