class Connection extends Connection (View source)

Properties

protected EntityManager $entityManager

Methods

EntityManager
getEntityManager() 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

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.

GetRow(mixed $q, mixed $arguments = []) deprecated

No description

qstr(mixed $string) deprecated

No description

GetOne(mixed $q, mixed $arguments = []) deprecated

No description

ErrorMsg() deprecated

No description

GetAll(mixed $q, mixed $arguments = []) deprecated

No description

GetArray(mixed $q, mixed $arguments = []) deprecated

No description

GetAssoc(mixed $q, mixed $arguments = []) deprecated

No description

MetaColumnNames(mixed $table) 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

No description

Insert_ID() deprecated

No description

MetaTables() deprecated

No description

MetaColumns(mixed $table) deprecated

No description

BeginTrans() deprecated

No description

StartTrans() deprecated

No description

CommitTrans() deprecated

No description

CompleteTrans() deprecated

No description

RollbackTrans() deprecated

No description

FailTrans() deprecated

No description

Details

EntityManager getEntityManager() deprecated

deprecated Please use the ORM facade instead of this method: - ORM::entityManager() in the application/site code and core - $pkg->getEntityManager() in packages

No description

Return Value

EntityManager

EntityManager createEntityManager()

No description

Return Value

EntityManager

Exceptions

ORMException

bool tableExists(mixed $tableName)

Returns true if a table exists – is NOT case sensitive.

Parameters

mixed $tableName

Return Value

bool

Execute(mixed $q, mixed $arguments = []) deprecated

deprecated

No description

Parameters

mixed $q
mixed $arguments

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.

Parameters

array $textIndexes

GetRow(mixed $q, mixed $arguments = []) deprecated

deprecated alias to old ADODB method

No description

Parameters

mixed $q
mixed $arguments

qstr(mixed $string) deprecated

deprecated alias to old ADODB method

No description

Parameters

mixed $string

GetOne(mixed $q, mixed $arguments = []) deprecated

deprecated alias to old ADODB method

No description

Parameters

mixed $q
mixed $arguments

ErrorMsg() deprecated

deprecated alias to old ADODB method

No description

GetAll(mixed $q, mixed $arguments = []) deprecated

deprecated alias to old ADODB method

No description

Parameters

mixed $q
mixed $arguments

GetArray(mixed $q, mixed $arguments = []) deprecated

deprecated alias to old ADODB method

No description

Parameters

mixed $q
mixed $arguments

GetAssoc(mixed $q, mixed $arguments = []) deprecated

deprecated alias to old ADODB method

No description

Parameters

mixed $q
mixed $arguments

MetaColumnNames(mixed $table) deprecated

deprecated Returns an associative array of all columns in a table

No description

Parameters

mixed $table

replace(string $table, array $fieldArray, string|string[] $keyCol, bool $autoQuote = true)

Insert or update a row in a database table.

Parameters

string $table

the name of the database table

array $fieldArray

array keys are the field names, array values are the field values

string|string[] $keyCol

the names of the primary key fields

bool $autoQuote

set to true to quote the field values

GetCol(mixed $q, mixed $arguments = []) deprecated

deprecated - alias to old ADODB method

No description

Parameters

mixed $q
mixed $arguments

Insert_ID() deprecated

deprecated alias to old ADODB method

No description

MetaTables() deprecated

deprecated

No description

MetaColumns(mixed $table) deprecated

deprecated

No description

Parameters

mixed $table

BeginTrans() deprecated

deprecated Alias to old ADODB method

No description

StartTrans() deprecated

deprecated Alias to old ADODB method

No description

CommitTrans() deprecated

deprecated Alias to old ADODB method

No description

CompleteTrans() deprecated

deprecated Alias to old ADODB method

No description

RollbackTrans() deprecated

deprecated Alias to old ADODB method

No description

FailTrans() deprecated

deprecated Alias to old ADODB method

No description