enumCastConversion
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.
\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): voidDerives nothing: the conversion holds no expression.
Parameters
$derivation | Derivation | |
$environment | Environment |
public function render(Output $out): voidWrites the keywords.
Parameters
$out | Output |
Calls 2
- method-call Output::keyword() line 38
- function-call
explodeline 38
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
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Catalog\CastRule::statement() packages/sql-semantics-postgres/src/Lowering/Catalog/CastRule.php:70
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Catalog\CastRule::statement() packages/sql-semantics-postgres/src/Lowering/Catalog/CastRule.php:71