enumCastContext
enum CastContext: string
Public API: explicitly declared with
@visibility public.Where a cast is applied without being written: in assignments, or implicitly in any context.
A cast without AS ASSIGNMENT or AS IMPLICIT is applied only when written. Source: https://www.postgresql.org/docs/17/sql-createcast.html.
\SqlSemantics\Platform\PostgreSql\Statement\Catalog\Cast\CastContext::Implicit->value // => 'IMPLICIT'Cases§
case Assignment = 'ASSIGNMENT'case Implicit = 'IMPLICIT'Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
CastContextTestcalls
Relations§
Constant reads 2
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Catalog\CastRule::context() packages/sql-semantics-postgres/src/Lowering/Catalog/CastRule.php:89
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Catalog\CastRule::context() packages/sql-semantics-postgres/src/Lowering/Catalog/CastRule.php:90