enum CopyForceKind
Public API: explicitly declared with @visibility public.

Which FORCE option of the old COPY syntax an item sets: FORCE QUOTE, FORCE NOT NULL or FORCE NULL.

Each sets the generic option force_quote, force_not_null or force_null. Source: https://www.postgresql.org/docs/17/sql-copy.html#id-1.9.3.55.10.

Reading the kind of a FORCE optiondoctest
$copy = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('COPY t FROM STDIN CSV FORCE NOT NULL a');
    $copy->statement->legacy[1]->kind // => \SqlSemantics\Platform\PostgreSql\Statement\Manipulation\Copy\CopyForceKind::NotNull

Cases§

case Quote
case NotNull
case Null

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 12
Type declarations 1