protected getPostGeneratedSelectKey ( $connection, $parameter ) : string | ||
return | string | last insert ID, null otherwise. |
protected function getPostGeneratedSelectKey($connection, $parameter)
{
if ($this->_statement instanceof TSqlMapInsert) {
$selectKey = $this->_statement->getSelectKey();
if ($selectKey !== null && $selectKey->getIsAfter()) {
return $this->executeSelectKey($connection, $parameter, $selectKey);
}
}
}