final class ExplainRows
Restricted visibility: declared "@visibility SqlSemantics\Platform\Sqlite". Code outside that scope must not name this declaration.

The rows an EXPLAIN report returns.

Rule: SQLITE-EXPLAIN-ROWS-001. EXPLAIN returns one row per virtual machine instruction with the columns addr, opcode, p1, p2, p3, p4, p5 and comment: the address and the operand integers are never NULL, the opcode name is text, the p4 operand is text or NULL, and the comment is NULL unless the library is built with SQLITE_ENABLE_EXPLAIN_COMMENTS. EXPLAIN QUERY PLAN returns one row per plan node with the columns id, parent, notused and detail, none of them NULL. The model fixes the number, order, names and storage classes of these columns for the shipped release. The manual says the output "is intended for interactive analysis and troubleshooting only", that "the details of the output format are subject to change from one

  • release of SQLite to the next", and nothing about the number or content of

the rows, which are not modeled. Precision: every field is a known type. No diagnostic. Terminates: a fixed table. Source: https://sqlite.org/lang_explain.html, https://sqlite.org/opcode.html, https://sqlite.org/eqp.html (and sqlite3VdbeList() in vdbe.c of the release). Status: Implemented.

Methods§

Private surface 1§

Implementation details, listed for orientation only.

private const COLUMNS = ['Program' => [['addr', \SqlSemantics\Platform\Sqlite\Statement\Type\Storage::I…

Test cases 2§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 2

Relations§

Instantiated in 1
Method calls 1