classMissingPrimaryKeyException
final class MissingPrimaryKeyException
extends SimulationException
Exception thrown when an UPDATE result cannot be matched to a shadow row.
Methods§
public function __construct(string $tableName)Binds the instance to what it will work from.
Parameters
$tableName | string |
Calls 1
- static-call SimulationException::__construct() line 21
public function getTableName(): stringAnswers table name.
Returns
stringTest cases 1
Private surface 1§
Implementation details, listed for orientation only.
private string $tableNameTest cases 10§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 9
DeleteCorrectnessTarget::__invokecallsUpdateCorrectnessTarget::__invokecallsDeleteCorrectnessTarget::__invokecallsUpdateCorrectnessTarget::__invokecallsDeleteCorrectnessTarget::__invokecallsUpdateCorrectnessTarget::__invokecallsSessionTest::testMutationFailureIsConvertedToDatabaseExceptioncallsShadowStoreTest::testUpdateWithoutPrimaryKeysThrowscallsZtdPdoStatementTest::testExecuteWrapsSimulationFailureAsAdapterExceptioncalls