// if this is the first iteration of batch then we need to build skeleton sql
if ($sql === ''
) { $sql = 'INSERT ' .
$this->
compileIgnore('insert'
) . 'INTO ' .
$this->
getFullName($table) . ' (' .
implode(', ',
$keys) . ")\n{:_table_:}";
$this->QBOptions
['sql'
] =
$sql;
} if (isset($this->QBOptions
['setQueryAsData'
])) { $data =
$this->QBOptions
['setQueryAsData'
];
} else { $data = 'VALUES ' .
implode(', ',
$this->
formatValues($values));
} return str_replace('{:_table_:}',
$data,
$sql);
} /**
* Generates a platform-specific update string from the supplied data
*/
protected function _update(string
$table, array
$values): string
{ $valstr =
[];