final class LargeObjectNumber
    implements ObjectReference
    uses Snapshot
Public API: explicitly declared with @visibility public.

A large object named by its object identifier.

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

Reading the identifierdoctest
$object = new \SqlSemantics\Platform\PostgreSql\Statement\Object\Reference\LargeObjectNumber(new \SqlSemantics\Platform\PostgreSql\Statement\Literal\SignedNumber(false, new \SqlSemantics\Platform\PostgreSql\Statement\Literal\IntegerConstant('16400')));
    $object->identifier->magnitude->digits // => '16400'

Properties§

public SignedNumber $identifier

Methods§

public function __construct(public SignedNumber $identifier)

Parameters

$identifierSignedNumberThe object identifier as written
public function deriveClause(Derivation $derivation, Environment $environment): void

Derives nothing: a number holds no expression.

Parameters

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

Writes the identifier.

Parameters

$outOutput
Test cases 1
Calls 1

Test cases 3§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 2
Other tests reaching this symbol 1

Relations§

Instantiated in 2
Type checks 1