enum CastConversion: string
    implements Clause
Public API: explicitly declared with @visibility public.

How a cast converts without a function: binary coercible (WITHOUT FUNCTION) or through the text forms (WITH INOUT).

Source: https://www.postgresql.org/docs/17/sql-createcast.html.

Spelling the I/O conversiondoctest
\SqlSemantics\Platform\PostgreSql\Statement\Catalog\Cast\CastConversion::InOut->value // => 'WITH INOUT'

Cases§

case Binary = 'WITHOUT FUNCTION'
case InOut = 'WITH INOUT'

Methods§

public function deriveClause(Derivation $derivation, Environment $environment): void

Derives nothing: the conversion holds no expression.

Parameters

$derivationDerivation
$environmentEnvironment
public function render(Output $out): void

Writes the keywords.

Parameters

$outOutput
Calls 2

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 2
Type checks 1
Type declarations 1