Connection
class Connection extends Connection (View source)
Properties
protected EntityManager | $entityManager | ||
protected null|array | $supportedCharsets | The supported character sets and associated default collation. |
|
protected null|array | $supportedCollations | The supported collations and the associated character sets. |
|
private array | $overriddenParams | Overridden params. |
Methods
No description
Returns true if a table exists – is NOT case sensitive.
No description
This is essentially a workaround for not being able to define indexes on TEXT fields with the current version of Doctrine DBAL.
Insert or update a row in a database table.
Get the supported character sets and associated default collation.
Get the supported collations and the associated character sets.
{@inheritdoc}
Check if a collation can be used for keys of a specific length.
No description
Details
EntityManager
getEntityManager()
deprecated
deprecated
No description
EntityManager
createEntityManager()
No description
bool
tableExists(mixed $tableName)
Returns true if a table exists – is NOT case sensitive.
Execute(mixed $q, mixed $arguments = [])
deprecated
deprecated
No description
query()
No description
createTextIndexes(array $textIndexes)
This is essentially a workaround for not being able to define indexes on TEXT fields with the current version of Doctrine DBAL.
This feature will be removed when DBAL will support it, so don't use this feature.
GetRow(mixed $q, mixed $arguments = [])
deprecated
deprecated
No description
qstr(mixed $string)
deprecated
deprecated
No description
GetOne(mixed $q, mixed $arguments = [])
deprecated
deprecated
No description
ErrorMsg()
deprecated
deprecated
No description
GetAll(mixed $q, mixed $arguments = [])
deprecated
deprecated
No description
GetArray(mixed $q, mixed $arguments = [])
deprecated
deprecated
No description
GetAssoc(mixed $q, mixed $arguments = [])
deprecated
deprecated
No description
MetaColumnNames(mixed $table)
deprecated
deprecated
No description
replace(string $table, array $fieldArray, string|string[] $keyCol, bool $autoQuote = true)
Insert or update a row in a database table.
GetCol(mixed $q, mixed $arguments = [])
deprecated
deprecated
No description
Insert_ID()
deprecated
deprecated
No description
MetaTables()
deprecated
deprecated
No description
MetaColumns(mixed $table)
deprecated
deprecated
No description
BeginTrans()
deprecated
deprecated
No description
StartTrans()
deprecated
deprecated
No description
CommitTrans()
deprecated
deprecated
No description
CompleteTrans()
deprecated
deprecated
No description
RollbackTrans()
deprecated
deprecated
No description
FailTrans()
deprecated
deprecated
No description
array
getSupportedCharsets()
Get the supported character sets and associated default collation.
array
getSupportedCollations()
Get the supported collations and the associated character sets.
getParams()
{@inheritdoc}
bool
isCollationSupportedForKeys(string $collation, int $fieldLength)
Check if a collation can be used for keys of a specific length.
refreshCharactersetCollation(string $characterSet, string $collation)
internal |
No description