classNotComposite
final class NotComposite
implements Diagnostic
uses Snapshot
Public API: explicitly declared with
@visibility public.A field selected from a value that is not of a composite type.
Source: https://www.postgresql.org/docs/17/rowtypes.html#ROWTYPES-ACCESSING.
(new \SqlSemantics\Platform\PostgreSql\Statement\Expression\Problem\NotComposite('a', 'integer'))->message() // => 'Column notation .a applied to type integer, which is not a composite type.'Properties§
public string $fieldpublic string $typeMethods§
public function __construct(public string $field, public string $type)Parameters
$field | string | The selected field |
$type | string | The type of the value |
public function message(): stringDescribes the problem.
Returns
stringTest cases 1
Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.