interfaceIndirectionStep
interface IndirectionStep
extends Clause
Public API: explicitly declared with
@visibility public.One step applied to a value or an assignment target: a field selection, a subscript, a slice or a star.
Mirrors the items of PostgreSQL's A_Indirection node. Steps follow an expression in parentheses or a parameter, and the column of an INSERT or UPDATE target. Source: https://www.postgresql.org/docs/17/sql-expressions.html#SQL-EXPRESSIONS-SUBSCRIPTS, https://www.postgresql.org/docs/17/sql-expressions.html#FIELD-SELECTION.
(new \SqlSemantics\Platform\PostgreSql\Statement\Expression\FieldSelection(new \SqlSemantics\Platform\PostgreSql\Model\Statement\Identifier\Name('city')))->field()->value // => 'city'Methods§
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§
Implemented by 4
- FieldSelection packages/sql-semantics-postgres/src/Statement/Expression/FieldSelection.php:23
- AllFields packages/sql-semantics-postgres/src/Statement/Expression/Step/AllFields.php:25
- Slice packages/sql-semantics-postgres/src/Statement/Expression/Step/Slice.php:26
- Subscript packages/sql-semantics-postgres/src/Statement/Expression/Step/Subscript.php:26
Constant reads 2
- class-const SqlSemantics\Platform\PostgreSql\Statement\Expression\Indirection::__construct() packages/sql-semantics-postgres/src/Statement/Expression/Indirection.php:61
- class-const SqlSemantics\Platform\PostgreSql\Statement\Manipulation\Assignment\ColumnTarget::__construct() packages/sql-semantics-postgres/src/Statement/Manipulation/Assignment/ColumnTarget.php:48