Documentation

AbstractSQLiteDriver
in package
implements Driver, ExceptionConverterDriver

Abstract base implementation of the {@link Doctrine\DBAL\Driver} interface for SQLite based drivers.

Tags
author

Steve Müller st.mueller@dzh-online.de

link
www.doctrine-project.org
since
2.5

Interfaces, Classes and Traits

Driver
Driver interface.
ExceptionConverterDriver
Contract for a driver that is capable of converting DBAL driver exceptions into standardized DBAL driver exceptions.

Table of Contents

convertException()  : DriverException
Converts a given DBAL driver exception into a standardized DBAL driver exception.
getDatabase()  : string
Gets the name of the database connected to for this driver.
getDatabasePlatform()  : AbstractPlatform
Gets the DatabasePlatform instance that provides all the metadata about the platform this driver connects to.
getSchemaManager()  : AbstractSchemaManager
Gets the SchemaManager that can be used to inspect and change the underlying database schema of the platform this driver connects to.

Methods

getDatabase()

Gets the name of the database connected to for this driver.

public getDatabase(Connection $conn) : string
Parameters
$conn : Connection
Return values
string

The name of the database.

Search results