final class CreateOperatorFamily
    implements Statement
    uses Snapshot
Public API: explicitly declared with @visibility public.

CREATE OPERATOR FAMILY name USING method: defines an empty operator family.

Mirrors PostgreSQL's CreateOpFamilyStmt. Source: https://www.postgresql.org/docs/17/sql-createopfamily.html.

Reading the family namedoctest
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('CREATE OPERATOR FAMILY f USING btree');
    $operation->statement->name->last()->value // => 'f'

Properties§

public DottedName $name
public Name $method

Methods§

public function __construct(public DottedName $name, public Name $method)

Parameters

$nameDottedNameThe family name
$methodNameThe index access method
public function deriveStatement(Derivation $derivation): void

Derives nothing: names hold no expression.

Parameters

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

Writes the statement.

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§

Instantiated in 1