FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Public Member Functions | |
__construct (Logger $logger) | |
prepare ($statementName, $sqlStatement) | |
execute ($statementName, $params=array()) | |
Public Member Functions inherited from Fossology\Lib\Db\DbManager | |
setDriver (Driver &$dbDriver) | |
getDriver () | |
begin () | |
commit () | |
rollback () | |
insertPreparedAndReturn ($statementName, $sqlStatement, $params, $returning) | |
getSingleRow ($sqlStatement, $params=array(), $statementName="") | |
getRows ($sqlStatement, $params=array(), $statementName="") | |
queryOnce ($sqlStatement, $sqlLog='') | |
freeResult ($res) | |
fetchArray ($res) | |
fetchAll ($res) | |
createMap ($tableName, $keyColumn, $valueColumn, $sqlLog='') | |
flushStats () | |
booleanFromDb ($booleanValue) | |
booleanToDb ($booleanValue) | |
insertInto ($tableName, $keys, $params, $sqlLog='', $returning='') | |
insertTableRow ($tableName, $assocParams, $sqlLog='', $returning='') | |
updateTableRow ($tableName, $assocParams, $idColName, $id, $sqlLog='') | |
existsTable ($tableName) | |
existsColumn ($tableName, $columnName) | |
Additional Inherited Members | |
Protected Member Functions inherited from Fossology\Lib\Db\DbManager | |
checkResult ($result, $sqlStatement="") | |
Check the result for unexpected errors. If found, treat them as fatal. More... | |
formatMilliseconds ($seconds) | |
collectStatistics ($statementName, $execTime) | |
Protected Attributes inherited from Fossology\Lib\Db\DbManager | |
$dbDriver | |
$preparedStatements | |
$logger | |
$cumulatedTime = array() | |
$queryCount = array() | |
Definition at line 13 of file ModernDbManager.php.
Fossology\Lib\Db\ModernDbManager::execute | ( | $statementName, | |
$params = array() |
|||
) |
string | $statementName | statement name |
array | $params | parameters |
Reimplemented from Fossology\Lib\Db\DbManager.
Definition at line 48 of file ModernDbManager.php.
Fossology\Lib\Db\ModernDbManager::prepare | ( | $statementName, | |
$sqlStatement | |||
) |
$statementName | |
$sqlStatement |
Reimplemented from Fossology\Lib\Db\DbManager.
Definition at line 25 of file ModernDbManager.php.