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\MySql\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

Test cases 2§

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

Other tests reaching this symbol 2

Relations§

Type declarations 1