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