enumExplainMode
enum ExplainMode
Public API: explicitly declared with
@visibility public.What an EXPLAIN prefix asks SQLite to report instead of running the statement.
Source: https://sqlite.org/lang_explain.html.
$explain = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('EXPLAIN QUERY PLAN SELECT 1');
$explain->statement->mode // => \SqlSemantics\Platform\Sqlite\Statement\Inspection\ExplainMode::QueryPlanCases§
case Programcase QueryPlanTest cases 6§
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 5
DefinitionCommandsTest::testExplainedWrapsTheCommandInTheWrittenRequestcallsLoweringTest::testTerminatedWrapsAnExplainedCommandcallsExplainRowsTest::testFactListsTheEightColumnsOfAProgramReportcallsExplainRowsTest::testFactListsTheFourColumnsOfAQueryPlanReportcallsExplainTest::testRenderWritesANewlyBuiltRequestcalls
Relations§
Constant reads 3
- class-const SqlSemantics\Platform\Sqlite\Lowering\Definition\DefinitionCommands::explained() packages/sql-semantics-sqlite/src/Lowering/Definition/DefinitionCommands.php:81
- class-const SqlSemantics\Platform\Sqlite\Lowering\Definition\DefinitionCommands::explained() packages/sql-semantics-sqlite/src/Lowering/Definition/DefinitionCommands.php:82
- class-const SqlSemantics\Platform\Sqlite\Statement\Inspection\Explain::render() packages/sql-semantics-sqlite/src/Statement/Inspection/Explain.php:61