Driver
extends AbstractSQLiteDriver
in package
FinalYes
Abstract base implementation of the {@see Doctrine\DBAL\Driver} interface for SQLite based drivers.
Table of Contents
Methods
- connect() : Connection
- {@inheritDoc}
- getDatabasePlatform() : AbstractPlatform
- Gets the DatabasePlatform instance that provides all the metadata about the platform this driver connects to.
- getExceptionConverter() : ExceptionConverter
- Gets the ExceptionConverter that can be used to convert driver-level exceptions into DBAL exceptions.
- getSchemaManager() : AbstractSchemaManager
- Gets the SchemaManager that can be used to inspect and change the underlying database schema of the platform this driver connects to.
- constructPdoDsn() : string
- Constructs the Sqlite PDO DSN.
Methods
connect()
{@inheritDoc}
public
connect(array<string|int, mixed> $params) : Connection
Parameters
- $params : array<string|int, mixed>
Return values
ConnectiongetDatabasePlatform()
Gets the DatabasePlatform instance that provides all the metadata about the platform this driver connects to.
public
getDatabasePlatform() : AbstractPlatform
Return values
AbstractPlatform —The database platform.
getExceptionConverter()
Gets the ExceptionConverter that can be used to convert driver-level exceptions into DBAL exceptions.
public
getExceptionConverter() : ExceptionConverter
Return values
ExceptionConvertergetSchemaManager()
Gets the SchemaManager that can be used to inspect and change the underlying database schema of the platform this driver connects to.
public
getSchemaManager(Connection $conn, AbstractPlatform $platform) : AbstractSchemaManager
Parameters
- $conn : Connection
- $platform : AbstractPlatform
Tags
Return values
AbstractSchemaManagerconstructPdoDsn()
Constructs the Sqlite PDO DSN.
private
constructPdoDsn(array<string, mixed> $params) : string
Parameters
- $params : array<string, mixed>