enumArityRule
enum ArityRule: string
Public API: explicitly declared with
@visibility public.The places where PostgreSQL requires two column counts to agree.
Source: https://www.postgresql.org/docs/17/queries-union.html, https://www.postgresql.org/docs/17/sql-values.html, https://www.postgresql.org/docs/17/queries-table-expressions.html#QUERIES-TABLE-ALIASES.
\SqlSemantics\Platform\PostgreSql\Statement\Query\Problem\ArityRule::SetOperation->value // => 'each %1$s query must have the same number of columns'Cases§
case SetOperation = 'each %1$s query must have the same number of columns'case ValuesRows = 'VALUES lists must all be the same length'case ColumnAliases = 'table "%1$s" has %2$d columns available but %3$d columns specified'case CommonTableColumns = 'WITH query "%1$s" has %2$d columns available but %3$d columns specified'Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Relations§
Constant reads 5
- class-const SqlSemantics\Platform\PostgreSql\Rules\Manipulation\InsertFacts::rows() packages/sql-semantics-postgres/src/Rules/Manipulation/InsertFacts.php:66
- class-const SqlSemantics\Platform\PostgreSql\Rules\Query\Facts\CommonTableFacts::shape() packages/sql-semantics-postgres/src/Rules/Query/Facts/CommonTableFacts.php:180
- class-const SqlSemantics\Platform\PostgreSql\Rules\Query\Facts\SetOperationFacts::combined() packages/sql-semantics-postgres/src/Rules/Query/Facts/SetOperationFacts.php:72
- class-const SqlSemantics\Platform\PostgreSql\Rules\Query\Facts\ValuesFacts::derive() packages/sql-semantics-postgres/src/Rules/Query/Facts/ValuesFacts.php:45
- class-const SqlSemantics\Platform\PostgreSql\Rules\Resolution\ColumnAliases::apply() packages/sql-semantics-postgres/src/Rules/Resolution/ColumnAliases.php:44