final class SessionDatabase
Restricted visibility: declared "@visibility SqlSemantics\Platform\MySql". Code outside that scope must not name this declaration.

The current database of the session a context describes.

Rule: MYSQL-CURRENT-DATABASE-001. An unqualified table name is searched in one database, the current database of the session (the first and only entry of the context's search path). When the caller names none, the platform searches the placeholder name UNNAMED, which stands for a session whose current database is not known: rules that would print or compare the real name of the current database (SHOW TABLES column names, the database of a privilege on *) treat it as unknown instead. Terminates: one comparison. Source: https://dev.mysql.com/doc/refman/8.4/en/identifier-qualifiers.html. Status: Implemented.

Constants§

public const UNNAMED = '(current)'

The database an unqualified name belongs to when the caller names no current database.

Methods§

Test cases 3§

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

Dedicated tests 2
Other tests reaching this symbol 1

Relations§

Instantiated in 1
Method calls 1
Constant reads 1