ConnectionConfig
class ConnectionConfig
| internal |
The facts of a configured database connection that schema inference reads.
Methods
Create a new connection config instance.
Create the schema parser for the connection's driver, or return null when the driver has none.
Get the schema an unqualified definition belongs to: the MySQL database or SQLite's main database.
Get the schema and physical name of a logical table name.
Details
at line 34
__construct(string $owner, string $driver, string $prefix, string|null $defaultSchema, array $searchPath, bool $nativeJson, bool $nativeJsonb, array $fetchOptions, bool $customized)
Create a new connection config instance.
at line 50
Parser|null
createParser()
Create the schema parser for the connection's driver, or return null when the driver has none.
at line 66
string|null
definitionSchema()
Get the schema an unqualified definition belongs to: the MySQL database or SQLite's main database.
PostgreSQL definitions stay unqualified with the connection's search path.
at line 78
array
physicalTable(string $table)
Get the schema and physical name of a logical table name.
The prefix applies to the final segment, as Grammar::wrapTable() applies it.