classZtdConfig
final class ZtdConfig
Configuration for ZTD behavior.
Methods§
public function __construct(
UnsupportedSqlBehavior $unsupportedBehavior = UnsupportedSqlBehavior::Exception,
UnknownSchemaBehavior $unknownSchemaBehavior = UnknownSchemaBehavior::Passthrough,
array<string, UnsupportedSqlBehavior> $behaviorRules = [],
)Parameters
$unsupportedBehavior | UnsupportedSqlBehavior | How to handle unsupported SQL. |
$unknownSchemaBehavior | UnknownSchemaBehavior | How to handle unknown schema references. |
$behaviorRules | array<string, UnsupportedSqlBehavior> | Pattern-to-behavior mapping (first match wins). |
Calls 3
- class-const UnsupportedSqlBehavior::Exception() line 35
- class-const UnknownSchemaBehavior::Passthrough() line 36
- new SqlBehaviorRule line 44
public static function default(): selfCreate a default configuration with Exception behavior.
Returns
selfTest cases 112
PostgreSqlDriverDetectionTest::testCustomConfigPassedToSessioncallsSqliteDriverDetectionTest::testCustomConfigPassedToSessioncallsZtdConfigTest::testDefaultCreatesConfigWithExceptionBehaviorcallsMySqlPlatformTest::testReflectSchemaAppliesReflectedAnsiQuotesModeToProductionLexingcallsMySqlPlatformTest::testReflectViewsRegistersReflectedViewscallsPgSqlPlatformTest::testCreatedSessionIsEnabledByDefaultcallsPgSqlPlatformTest::testCreateRegistersReflectedPartialUniqueIndexescallsPgSqlPlatformTest::testCreateRewriterProvidesIndependentSqlBehaviorcallsPgSqlPlatformTest::testCreateWithEmptyDatabaseReturnsSessioncallsPgSqlPlatformTest::testCreateWithNullParseResultStillWorkscallsPgSqlPlatformTest::testCreateWithTableRegistersSchemaInSessioncallsPgSqlPlatformTest::testCreateWithTablesReflectsSchemacallsPgSqlPlatformTest::testReflectSchemaRegistersReflectedPartitionMetadatacallsPgSqlPlatformTest::testReflectViewsRegistersReflectedViewscallsPgSqlPlatformTest::testSessionCanBeEnabledAfterCreationcallsPlatformTest::testCreateAnswersASessionThatHasSimulatedNothingYetcallsPlatformTest::testCreateRewriterSuppliesTheCoreExecutionPipelinecallsPlatformTest::testReflectSchemaReadsEveryTableTheDatabaseAlreadyHascallsQueryExecutorTest::testApplyShadowWritesTheMutationAndAnswersWhatItCameTocallsQueryExecutorTest::testApplyTransactionStatementDoesWhatTheStatementSayscallsQueryExecutorTest::testCommitTransactionKeepsWhatTheTransactionDidcallsQueryExecutorTest::testCopySupportIsNothingWhereTheDialectHasNoCopycallsQueryExecutorTest::testCopyTargetIsNothingWhereTheDialectHasNoCopycallsQueryExecutorTest::testCreateEmptyWriteResultAnswersASimulatedWriteWithNothingToFetchcallsQueryExecutorTest::testDisableEnableDisableEnableAndDisablecallsQueryExecutorTest::testDisableStopsZtdWithoutTouchingTheShadowcallsQueryExecutorTest::testEnableTurnsZtdBackOncallsQueryExecutorTest::testExecStatementAnswersHowManyRowsAReadStatementCameTocallsQueryExecutorTest::testForeignKeyFailureRestoresShadowStatecallsQueryExecutorTest::testIsEnabledFollowsWhatWasAskedForcallsQueryExecutorTest::testLastInsertIdIsFalseUntilSomethingHasBeenInsertedcallsQueryExecutorTest::testMutationFailureIsConvertedToDatabaseExceptioncallsQueryExecutorTest::testNeedsPostProcessingIsTrueForTheKindsThatChangeTheShadowcallsQueryExecutorTest::testParameterBindingCompilerIsNothingWhereTheDriverBindsThemItselfcallsQueryExecutorTest::testParameterBindingCompilerResultColumnTypeResolverParameterBindingCompilerDelegatesCopyTargetsToTheConfiguredPlatformSupportcallsQueryExecutorTest::testProcessExecutedStatementReadsAReadStatementStraightBackcallsQueryExecutorTest::testResultColumnTypeResolverAnswersTheOneTheSessionWasBuiltWithcallsQueryExecutorTest::testRewriteAnswersThePlanTheRewriterGivescallsQueryExecutorTest::testRollBackTransactionPutsTheShadowBackToWhereItBegancallsQueryExecutorTest::testRunResultSelectAndApplyShadowReadsBackWhatTheStatementWouldHaveWrittencallsQueryExecutorTest::testSessionTransactionsRestoreTheSameCatalogUsedByTheRewritercallsQueryExecutorTest::testShouldExecuteIsFalseOnlyForAPlanNothingIsToBeRunForcallsQueryExecutorTest::testSplitStatementsUsesPlatformRewritercallsQueryExecutorTest::testTableDefinitionReturnsRegisteredSchemaOrNullcallsQueryExecutorTest::testTransactionsAnswersWhatATransactionStatementIsAppliedTocallsQueryExecutorTest::testTransactionStatementIsNothingForAStatementThatIsNotOnecallsMysqliResultProcessorTest::testProcessCreatesAnEmptyWriteResultcallsMysqliResultProcessorTest::testProcessPreservesTheOriginalDatabaseExceptioncallsMysqliResultProcessorTest::testProcessUsesNativeRowsForTheShadowMutationcallsPreparedQueryTest::testPrepareReportsASilentDriverFailurecallsPreparedQueryTest::testRewriteUsesTheCurrentShadowOnEveryExecutioncallsStatementExecutionTest::testBindingsRemainAvailableAcrossExecutionscallsStatementExecutionTest::testBindParameterRetainsReferencesAcrossRepreparationcallsStatementExecutionTest::testExecutePreparedRefreshesShadowReadsAndReplaysBindingscallsStatementExecutionTest::testExecuteSilentFailureDoesNotProduceAShadowResultcallsStatementExecutionTest::testFetchAllReturnsAssociativeRowscallsStatementExecutionTest::testNativeUnrewrittenExecutionDelegatesToTheNativeStatementcallsStatementExecutionTest::testPostProcessAppliesResultSelectRowsToTheShadowcallsStatementExecutionTest::testResultColumnsRemainAvailableAfterRowsAreConsumedcallsStatementExecutionTest::testResultUpdatesShadowAndReturnsItsResultcallsStatementExecutionTest::testRowCountTracksNativeMutationscallsStatementSimulatorTest::testReadStatementReturnsFalseWhenExecutorFailscallsStatementSimulatorTest::testReadStatementReturnsRowCountcallsStatementSimulatorTest::testSimulateRefusesAWriteThePlanCarriesNoMutationForcallsStatementSimulatorTest::testUnsupportedSqlThrowscallsStatementSimulatorTest::testWriteStatementUpdatesShadowStorecallsSqlitePlatformTest::testReflectViewsRegistersReflectedViewscallsZtdMysqliStatementTest::testAttr_getReadsTheConfiguredNativeCursorModecallsZtdMysqliStatementTest::testAttr_setUpdatesTheNativeCursorModecallsZtdMysqliStatementTest::testCloseClosesTheDelegatedStatementcallsZtdMysqliStatementTest::testData_seekMovesTheNativeCursorcallsZtdMysqliStatementTest::testExecuteAppliesRowsToTheShadowStorecallsZtdMysqliStatementTest::testExecuteDoesNotRunASkippedPlancallsZtdMysqliStatementTest::testExecuteHonorsReadAndUnplannedParameterscallsZtdMysqliStatementTest::testExecuteReturnsFalseForNativeFailurescallsZtdMysqliStatementTest::testFetchWritesBoundResultVariablescallsZtdMysqliStatementTest::testFree_resultReleasesBufferedRowscallsZtdMysqliStatementTest::testGet_resultConsumesTheCachedNativeResultOncecallsZtdMysqliStatementTest::testGet_resultReturnsFalseForAStatementWithoutRowscallsZtdMysqliStatementTest::testGet_warningsReturnsTheNativeWarningcallsZtdMysqliStatementTest::testMore_resultsReturnsFalseAfterASingleResultcallsZtdMysqliStatementTest::testNext_resultReturnsFalseWithoutAnotherResultcallsZtdMysqliStatementTest::testNum_rowsReturnsTheNativeBufferedCountcallsZtdMysqliStatementTest::testPrepareReplacesTheDelegatedStatementcallsZtdMysqliStatementTest::testResetClearsTheSimulatedAffectedRowCountcallsZtdMysqliStatementTest::testResult_metadataReturnsNativeColumnInformationcallsZtdMysqliStatementTest::testSend_long_dataConcatenatesBinaryChunkscallsZtdMysqliStatementTest::testStore_resultBuffersTheNativeRowscallsZtdMysqliStatementTest::testZtdAffectedRowsReturnsTheNativeWriteCountcallsZtdMysqliTest::testFromMysqliUsesTheInjectedPlatformcallsZtdPdoStatementTest::testBindColumnFillsTheVariableTheColumnIsReadIntocallsZtdPdoStatementTest::testBindValueDelegatesToInnercallsZtdPdoStatementTest::testCloseCursorDelegatesToInnercallsZtdPdoStatementTest::testColumnCountDelegatesToInnercallsZtdPdoStatementTest::testDebugDumpParamsWritesTheDumpRatherThanAnsweringItcallsZtdPdoStatementTest::testErrorCodeAnswersNothingWhereTheDriverSaysNothingcallsZtdPdoStatementTest::testErrorCodeAnswersWhatTheDriverSaysWentWrongLastcallsZtdPdoStatementTest::testErrorInfoAnswersWhatTheDriverSaysAboutTheLastFailurecallsZtdPdoStatementTest::testExecuteDelegatesWhenNoPlancallsZtdPdoStatementTest::testExecuteDelegatesWhenNoPostProcessingNeededcallsZtdPdoStatementTest::testExecuteReturnsFalseWhenShouldExecuteIsFalsecallsZtdPdoStatementTest::testExecuteWithoutPostProcessingRunsNativeStatementOncecallsZtdPdoStatementTest::testExecuteWrapsSimulationFailureAsAdapterExceptioncallsZtdPdoStatementTest::testFetchObjectDelegatesWithoutABufferedResultcallsZtdPdoStatementTest::testGetAttributeReadsTheAttributeOffTheStatementItWrapscallsZtdPdoStatementTest::testGetColumnMetaAnswersWhatTheDriverSaysAboutAColumncallsZtdPdoStatementTest::testGetIteratorWalksTheDriversOwnCursorWhereNothingWasBufferedcallsZtdPdoStatementTest::testNextRowsetMovesTheStatementOnToTheDriversNextResultcallsZtdPdoStatementTest::testPassthroughFetchAllForwardsColumnAndCallbackArgumentscallsZtdPdoStatementTest::testPassthroughFetchAllPreservesKeyPairKeyscallsZtdPdoStatementTest::testRowCountDelegatesToInnerWhenNoResultcallsZtdPdoStatementTest::testSetAttributeSetsTheAttributeOnTheStatementItWrapscalls
Called from 2
Calls 1
- new
selfline 53
public function unsupportedBehavior(): UnsupportedSqlBehaviorGet the default unsupported SQL behavior mode.
Returns
Test cases 1
public function unknownSchemaBehavior(): UnknownSchemaBehaviorGet the unknown schema behavior mode.
Returns
Test cases 1
Called from 1
public function behaviorRules(): list<SqlBehaviorRule>public function getBehaviorFor(string $sql): ?UnsupportedSqlBehaviorGet the behavior for a specific SQL statement.
Checks behavior rules in order; first matching rule determines behavior. Returns null if no rule matches (use default unsupportedBehavior).
Parameters
$sql | string |
Returns
Test cases 7
ZtdConfigTest::testEmptyBehaviorRulescallsZtdConfigTest::testFirstMatchWinscallsZtdConfigTest::testGetBehaviorForReturnsMatchingRuleBehaviorcallsZtdConfigTest::testGetBehaviorForReturnsNullWhenNoMatchcallsZtdConfigTest::testMixedPrefixAndRegexRulescallsZtdConfigTest::testPrefixMatchingBehaviorcallsZtdConfigTest::testRegexMatchingBehaviorcalls
public function resolveUnsupportedBehavior(string $sql): UnsupportedSqlBehaviorResolve the effective behavior for a SQL statement.
Uses rule-specific behavior if a rule matches, otherwise default behavior.
Parameters
$sql | string |
Returns
Test cases 3
Called from 1
Calls 1
- method-call ZtdConfig::getBehaviorFor() line 106
Private surface 3§
Implementation details, listed for orientation only.
private UnsupportedSqlBehavior $unsupportedBehaviorprivate UnknownSchemaBehavior $unknownSchemaBehaviorprivate list<SqlBehaviorRule> $behaviorRulesTest cases 144§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 13
ZtdConfigTest::testBehaviorRulesReturnsConfiguredRulescallsZtdConfigTest::testDefaultCreatesConfigWithExceptionBehaviorcallsZtdConfigTest::testEmptyBehaviorRulescallsZtdConfigTest::testFirstMatchWinscallsZtdConfigTest::testGetBehaviorForReturnsMatchingRuleBehaviorcallsZtdConfigTest::testGetBehaviorForReturnsNullWhenNoMatchcallsZtdConfigTest::testMixedPrefixAndRegexRulescallsZtdConfigTest::testPrefixMatchingBehaviorcallsZtdConfigTest::testRegexMatchingBehaviorcallsZtdConfigTest::testResolveUnsupportedBehaviorUsesDefaultWhenNoMatchcallsZtdConfigTest::testResolveUnsupportedBehaviorUsesMatchingRulecallsZtdConfigTest::testUnknownSchemaBehaviorReturnsConfiguredValuecallsZtdConfigTest::testUnsupportedBehaviorReturnsConfiguredValuecalls
Other tests reaching this symbol 131
BehaviorTarget::verifycallsQueryExecutorBuildercallsCopyTest::testStandardPdoMethodsHonorTheSessionsIgnorePolicyForCopycallsPostgreSqlDriverDetectionTest::testCustomConfigPassedToSessioncallsSqliteDriverDetectionTest::testCustomConfigPassedToSessioncallsSqliteErrorHandlingTest::testLateTableMutationRespectsExceptionBehaviorcallsSqliteErrorHandlingTest::testUnsupportedSqlWithExceptionBehaviorcallsSqliteErrorHandlingTest::testUnsupportedSqlWithIgnoreBehaviorcallsSqliteErrorHandlingTest::testUnsupportedSqlWithNoticeBehaviorcallsMySqlPlatformTest::testCreateRewriterProvidesIndependentSqlBehaviorcallsMySqlPlatformTest::testReflectSchemaAppliesReflectedAnsiQuotesModeToProductionLexingcallsMySqlPlatformTest::testReflectViewsRegistersReflectedViewscallsPgSqlPlatformTest::testCreatedSessionIsEnabledByDefaultcallsPgSqlPlatformTest::testCreateRegistersReflectedPartialUniqueIndexescallsPgSqlPlatformTest::testCreateRewriterProvidesIndependentSqlBehaviorcallsPgSqlPlatformTest::testCreateWithEmptyDatabaseReturnsSessioncallsPgSqlPlatformTest::testCreateWithNullParseResultStillWorkscallsPgSqlPlatformTest::testCreateWithTableRegistersSchemaInSessioncallsPgSqlPlatformTest::testCreateWithTablesReflectsSchemacallsPgSqlPlatformTest::testReflectSchemaRegistersReflectedPartitionMetadatacallsPgSqlPlatformTest::testReflectViewsRegistersReflectedViewscallsPgSqlPlatformTest::testSessionCanBeEnabledAfterCreationcallsPlatformTest::testCreateAnswersASessionThatHasSimulatedNothingYetcallsPlatformTest::testCreateRewriterSuppliesTheCoreExecutionPipelinecallsPlatformTest::testReflectSchemaReadsEveryTableTheDatabaseAlreadyHascallsQueryExecutorTest::testApplyShadowWritesTheMutationAndAnswersWhatItCameTocallsQueryExecutorTest::testApplyTransactionStatementDoesWhatTheStatementSayscallsQueryExecutorTest::testCommitTransactionKeepsWhatTheTransactionDidcallsQueryExecutorTest::testCopySupportIsNothingWhereTheDialectHasNoCopycallsQueryExecutorTest::testCopyTargetIsNothingWhereTheDialectHasNoCopycallsQueryExecutorTest::testCreateEmptyWriteResultAnswersASimulatedWriteWithNothingToFetchcallsQueryExecutorTest::testDisableEnableDisableEnableAndDisablecallsQueryExecutorTest::testDisableStopsZtdWithoutTouchingTheShadowcallsQueryExecutorTest::testEnableTurnsZtdBackOncallsQueryExecutorTest::testExecStatementAnswersHowManyRowsAReadStatementCameTocallsQueryExecutorTest::testForeignKeyFailureRestoresShadowStatecallsQueryExecutorTest::testIsEnabledFollowsWhatWasAskedForcallsQueryExecutorTest::testLastInsertIdIsFalseUntilSomethingHasBeenInsertedcallsQueryExecutorTest::testMutationFailureIsConvertedToDatabaseExceptioncallsQueryExecutorTest::testNeedsPostProcessingIsTrueForTheKindsThatChangeTheShadowcallsQueryExecutorTest::testParameterBindingCompilerIsNothingWhereTheDriverBindsThemItselfcallsQueryExecutorTest::testParameterBindingCompilerResultColumnTypeResolverParameterBindingCompilerDelegatesCopyTargetsToTheConfiguredPlatformSupportcallsQueryExecutorTest::testProcessExecutedStatementReadsAReadStatementStraightBackcallsQueryExecutorTest::testResultColumnTypeResolverAnswersTheOneTheSessionWasBuiltWithcallsQueryExecutorTest::testRewriteAnswersThePlanTheRewriterGivescallsQueryExecutorTest::testRollBackTransactionPutsTheShadowBackToWhereItBegancallsQueryExecutorTest::testRunResultSelectAndApplyShadowReadsBackWhatTheStatementWouldHaveWrittencallsQueryExecutorTest::testSessionTransactionsRestoreTheSameCatalogUsedByTheRewritercallsQueryExecutorTest::testShouldExecuteIsFalseOnlyForAPlanNothingIsToBeRunForcallsQueryExecutorTest::testSplitStatementsUsesPlatformRewritercallsQueryExecutorTest::testTableDefinitionReturnsRegisteredSchemaOrNullcallsQueryExecutorTest::testTransactionsAnswersWhatATransactionStatementIsAppliedTocallsQueryExecutorTest::testTransactionStatementIsNothingForAStatementThatIsNotOnecallsRewriteRefusalTest::testForUnknownSchemaLetsTheStatementThroughWhereTheCallerAsksForThatcallsRewriteRefusalTest::testForUnknownSchemaRaisesWhereTheCallerAskedToBeToldcallsRewriteRefusalTest::testForUnknownSchemaReadsNothingBackWhereTheCallerAsksForThatcallsRewriteRefusalTest::testForUnknownSchemaSaysSomethingWhereTheCallerAskedToBeNoticedcallsRewriteRefusalTest::testForUnsupportedAnswersAPlanThatDoesNothingWhereTheCallerAllowsThatcallsRewriteRefusalTest::testForUnsupportedRaisesWhereTheCallerAskedToBeToldcallsRewriteRefusalTest::testForUnsupportedSaysSomethingWhereTheCallerAskedToBeNoticedcallsMysqliResultProcessorTest::testProcessCreatesAnEmptyWriteResultcallsMysqliResultProcessorTest::testProcessPreservesTheOriginalDatabaseExceptioncallsMysqliResultProcessorTest::testProcessUsesNativeRowsForTheShadowMutationcallsPreparedQueryTest::testPrepareReportsASilentDriverFailurecallsPreparedQueryTest::testRewriteUsesTheCurrentShadowOnEveryExecutioncallsStatementExecutionTest::testBindingsRemainAvailableAcrossExecutionscallsStatementExecutionTest::testBindParameterRetainsReferencesAcrossRepreparationcallsStatementExecutionTest::testExecutePreparedRefreshesShadowReadsAndReplaysBindingscallsStatementExecutionTest::testExecuteSilentFailureDoesNotProduceAShadowResultcallsStatementExecutionTest::testFetchAllReturnsAssociativeRowscallsStatementExecutionTest::testNativeUnrewrittenExecutionDelegatesToTheNativeStatementcallsStatementExecutionTest::testPostProcessAppliesResultSelectRowsToTheShadowcallsStatementExecutionTest::testResultColumnsRemainAvailableAfterRowsAreConsumedcallsStatementExecutionTest::testResultUpdatesShadowAndReturnsItsResultcallsStatementExecutionTest::testRowCountTracksNativeMutationscallsStatementSimulatorTest::testReadStatementReturnsFalseWhenExecutorFailscallsStatementSimulatorTest::testReadStatementReturnsRowCountcallsStatementSimulatorTest::testSimulateRefusesAWriteThePlanCarriesNoMutationForcallsStatementSimulatorTest::testUnsupportedSqlThrowscallsStatementSimulatorTest::testWriteStatementUpdatesShadowStorecallsSqlitePlatformTest::testCreateRewriterProvidesIndependentSqlBehaviorcallsSqlitePlatformTest::testCreateWithUnparseableSchemaSkipsTablecallsSqlitePlatformTest::testReflectSchemaWithExistingTablesRegistersDefinitionscallsSqlitePlatformTest::testReflectViewsRegistersReflectedViewscallsZtdMysqliStatementTest::testAttr_getReadsTheConfiguredNativeCursorModecallsZtdMysqliStatementTest::testAttr_setUpdatesTheNativeCursorModecallsZtdMysqliStatementTest::testCloseClosesTheDelegatedStatementcallsZtdMysqliStatementTest::testData_seekMovesTheNativeCursorcallsZtdMysqliStatementTest::testExecuteAppliesRowsToTheShadowStorecallsZtdMysqliStatementTest::testExecuteDoesNotRunASkippedPlancallsZtdMysqliStatementTest::testExecuteHonorsReadAndUnplannedParameterscallsZtdMysqliStatementTest::testExecuteReturnsFalseForNativeFailurescallsZtdMysqliStatementTest::testFetchWritesBoundResultVariablescallsZtdMysqliStatementTest::testFree_resultReleasesBufferedRowscallsZtdMysqliStatementTest::testGet_resultConsumesTheCachedNativeResultOncecallsZtdMysqliStatementTest::testGet_resultReturnsFalseForAStatementWithoutRowscallsZtdMysqliStatementTest::testGet_warningsReturnsTheNativeWarningcallsZtdMysqliStatementTest::testMore_resultsReturnsFalseAfterASingleResultcallsZtdMysqliStatementTest::testNext_resultReturnsFalseWithoutAnotherResultcallsZtdMysqliStatementTest::testNum_rowsReturnsTheNativeBufferedCountcallsZtdMysqliStatementTest::testPrepareReplacesTheDelegatedStatementcallsZtdMysqliStatementTest::testResetClearsTheSimulatedAffectedRowCountcallsZtdMysqliStatementTest::testResult_metadataReturnsNativeColumnInformationcallsZtdMysqliStatementTest::testSend_long_dataConcatenatesBinaryChunkscallsZtdMysqliStatementTest::testStore_resultBuffersTheNativeRowscallsZtdMysqliStatementTest::testZtdAffectedRowsReturnsTheNativeWriteCountcallsZtdMysqliTest::testFromMysqliUsesTheInjectedPlatformcallsZtdMysqliTest::testQueryUsesTheInjectedPlatformcallsZtdMysqliTest::testRelease_savepointRemovesTheNativeAndShadowSavepointscallsZtdPdoStatementTest::testBindColumnFillsTheVariableTheColumnIsReadIntocallsZtdPdoStatementTest::testBindValueDelegatesToInnercallsZtdPdoStatementTest::testCloseCursorDelegatesToInnercallsZtdPdoStatementTest::testColumnCountDelegatesToInnercallsZtdPdoStatementTest::testDebugDumpParamsWritesTheDumpRatherThanAnsweringItcallsZtdPdoStatementTest::testErrorCodeAnswersNothingWhereTheDriverSaysNothingcallsZtdPdoStatementTest::testErrorCodeAnswersWhatTheDriverSaysWentWrongLastcallsZtdPdoStatementTest::testErrorInfoAnswersWhatTheDriverSaysAboutTheLastFailurecallsZtdPdoStatementTest::testExecuteDelegatesWhenNoPlancallsZtdPdoStatementTest::testExecuteDelegatesWhenNoPostProcessingNeededcallsZtdPdoStatementTest::testExecuteReturnsFalseWhenShouldExecuteIsFalsecallsZtdPdoStatementTest::testExecuteWithoutPostProcessingRunsNativeStatementOncecallsZtdPdoStatementTest::testExecuteWrapsSimulationFailureAsAdapterExceptioncallsZtdPdoStatementTest::testFetchObjectDelegatesWithoutABufferedResultcallsZtdPdoStatementTest::testGetAttributeReadsTheAttributeOffTheStatementItWrapscallsZtdPdoStatementTest::testGetColumnMetaAnswersWhatTheDriverSaysAboutAColumncallsZtdPdoStatementTest::testGetIteratorWalksTheDriversOwnCursorWhereNothingWasBufferedcallsZtdPdoStatementTest::testNextRowsetMovesTheStatementOnToTheDriversNextResultcallsZtdPdoStatementTest::testPassthroughFetchAllForwardsColumnAndCallbackArgumentscallsZtdPdoStatementTest::testPassthroughFetchAllPreservesKeyPairKeyscallsZtdPdoStatementTest::testRowCountDelegatesToInnerWhenNoResultcallsZtdPdoStatementTest::testSetAttributeSetsTheAttributeOnTheStatementItWrapscalls
Relations§
Instantiated in 1
Static calls 2
Method calls 2
Type declarations 8
- type ZtdQuery\QueryExecutor packages/ztd-query-core/src/QueryExecutor.php:50
- type ZtdQuery\RewriteRefusal packages/ztd-query-core/src/RewriteRefusal.php:31
- type ZtdQuery\Adapter\Mysqli\Session\ConnectionExecution packages/ztd-query-mysqli-adapter/src/Session/ConnectionExecution.php:35
- type ZtdQuery\Adapter\Mysqli\ZtdMysqli packages/ztd-query-mysqli-adapter/src/ZtdMysqli.php:69
- type ZtdQuery\Adapter\Mysqli\ZtdMysqli packages/ztd-query-mysqli-adapter/src/ZtdMysqli.php:88
- type ZtdQuery\Adapter\Pdo\Session\ConnectionExecution packages/ztd-query-pdo-adapter/src/Session/ConnectionExecution.php:30
- type ZtdQuery\Adapter\Pdo\ZtdPdo packages/ztd-query-pdo-adapter/src/ZtdPdo.php:60
- type ZtdQuery\Adapter\Pdo\ZtdPdo packages/ztd-query-pdo-adapter/src/ZtdPdo.php:89