Migration::copyVersionedTable
Same exact purpose as ::copyTable(), however, also applies changes to other tables associated with versioned objects. Also, this could be potentially much slower due to the extra tables being copied.
NOTE: Please see ::copyTable() for more details on the parameters below.
Signature
public function copyVersionedTable(string
$fromObject,
string
$toObject,
[array
$fieldMapping = NULL,
[boolean
$purgeDest = false,
[mixed|null
$where = NULL]]] )
Parameters
$fromObject
— string- The name of SOURCE versioned object to copy field data from.
$toObject
— string- The name of DESTINATION versioned object to copy field data to.
$fieldMapping
— array
$purgeDest
— boolean
$where
— object