class SchemaException extends DBALException (View source)

Constants

TABLE_DOESNT_EXIST

TABLE_ALREADY_EXISTS

COLUMN_DOESNT_EXIST

COLUMN_ALREADY_EXISTS

INDEX_DOESNT_EXIST

INDEX_ALREADY_EXISTS

SEQUENCE_DOENST_EXIST

SEQUENCE_ALREADY_EXISTS

INDEX_INVALID_NAME

FOREIGNKEY_DOESNT_EXIST

Methods

static 
notSupported($method)

No description

static 
invalidPlatformSpecified()

No description

static 
invalidPdoInstance()

No description

static 
driverRequired()

No description

static 
unknownDriver($unknownDriverName, array $knownDrivers)

No description

static 
invalidWrapperClass($wrapperClass)

No description

static 
invalidDriverClass($driverClass)

No description

static DBALException
invalidTableName(string $tableName)

No description

static DBALException
noColumnsSpecifiedForTable(string $tableName)

No description

static 
limitOffsetInvalid()

No description

static 
typeExists($name)

No description

static 
unknownColumnType($name)

No description

static 
typeNotFound($name)

No description

static SchemaException
tableDoesNotExist(string $tableName)

No description

static SchemaException
indexNameInvalid(string $indexName)

No description

static SchemaException
indexDoesNotExist($indexName, $table)

No description

static SchemaException
indexAlreadyExists($indexName, $table)

No description

static SchemaException
columnDoesNotExist($columnName, $table)

No description

static SchemaException
tableAlreadyExists(string $tableName)

No description

static SchemaException
columnAlreadyExists(string $tableName, string $columnName)

No description

static SchemaException
sequenceAlreadyExists(string $sequenceName)

No description

static SchemaException
sequenceDoesNotExist(string $sequenceName)

No description

static SchemaException
foreignKeyDoesNotExist($fkName, $table)

No description

static 
namedForeignKeyRequired(Table $localTable, ForeignKeyConstraint $foreignKey)

No description

static 
alterTableChangeNotSupported($changeName)

No description

Details

static notSupported($method)

Parameters

$method

static invalidPlatformSpecified()

static invalidPdoInstance()

static driverRequired()

static unknownDriver($unknownDriverName, array $knownDrivers)

Parameters

$unknownDriverName
array $knownDrivers

static invalidWrapperClass($wrapperClass)

Parameters

$wrapperClass

static invalidDriverClass($driverClass)

Parameters

$driverClass

static DBALException invalidTableName(string $tableName)

Parameters

string $tableName

Return Value

DBALException

static DBALException noColumnsSpecifiedForTable(string $tableName)

Parameters

string $tableName

Return Value

DBALException

static limitOffsetInvalid()

static typeExists($name)

Parameters

$name

static unknownColumnType($name)

Parameters

$name

static typeNotFound($name)

Parameters

$name

static SchemaException tableDoesNotExist(string $tableName)

Parameters

string $tableName

Return Value

SchemaException

static SchemaException indexNameInvalid(string $indexName)

Parameters

string $indexName

Return Value

SchemaException

static SchemaException indexDoesNotExist($indexName, $table)

Parameters

$indexName
$table

Return Value

SchemaException

static SchemaException indexAlreadyExists($indexName, $table)

Parameters

$indexName
$table

Return Value

SchemaException

static SchemaException columnDoesNotExist($columnName, $table)

Parameters

$columnName
$table

Return Value

SchemaException

static SchemaException tableAlreadyExists(string $tableName)

Parameters

string $tableName

Return Value

SchemaException

static SchemaException columnAlreadyExists(string $tableName, string $columnName)

Parameters

string $tableName
string $columnName

Return Value

SchemaException

static SchemaException sequenceAlreadyExists(string $sequenceName)

Parameters

string $sequenceName

Return Value

SchemaException

static SchemaException sequenceDoesNotExist(string $sequenceName)

Parameters

string $sequenceName

Return Value

SchemaException

static SchemaException foreignKeyDoesNotExist($fkName, $table)

Parameters

$fkName
$table

Return Value

SchemaException

static namedForeignKeyRequired(Table $localTable, ForeignKeyConstraint $foreignKey)

Parameters

Table $localTable
ForeignKeyConstraint $foreignKey

static alterTableChangeNotSupported($changeName)

Parameters

$changeName