final class SearchPath
Public API: explicitly declared with @visibility public.

The schemas a session searches for an unqualified relation name, in precedence order.

Selecting the MySQL current databasedoctest
(new \SqlSemantics\Platform\PostgreSql\Model\Contract\SearchPath('shop'))->schemas // => ['shop']

Properties§

public non-empty-list<string> $schemas

Methods§

public function __construct(string ...$schemas)

Parameters

$schemasstringThe schema names in precedence order; at least one, none empty
Calls 3

Relations§

Type declarations 1