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\Sqlite\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 5§

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 1

Relations§

Type declarations 1