final class TableQueries
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

Runs the ordered catalog queries needed to reconstruct a table declaration.

Methods§

public function __construct(private ConnectionInterface $connection)

Supplies the connection used to inspect the current PostgreSQL schema.

Parameters

public function columns(string $tableName): StatementInterface|false
public function primaryKey(string $tableName): StatementInterface|false
public function uniqueIndexes(string $tableName): StatementInterface|false

Fetches unique indexes metadata in its catalog order.

Parameters

$tableNamestring

Returns

Test cases 1
Called from 1
Calls 2
public function foreignKeys(string $tableName): StatementInterface|false

Private surface 1§

Implementation details, listed for orientation only.

private ConnectionInterface $connection

Test cases 7§

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

Dedicated tests 4
Other tests reaching this symbol 3

Relations§

Instantiated in 1
Method calls 4