FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\Lib\Db\SolidDbManager Class Reference
Inheritance diagram for Fossology\Lib\Db\SolidDbManager:
Inheritance graph
Collaboration diagram for Fossology\Lib\Db\SolidDbManager:
Collaboration graph

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)
 

Private Member Functions

 evaluateStatement ($statementName, $params)
 

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

Detailed Description

Definition at line 13 of file SolidDbManager.php.

Member Function Documentation

◆ evaluateStatement()

Fossology\Lib\Db\SolidDbManager::evaluateStatement (   $statementName,
  $params 
)
private
Parameters
string$statementName
array$params
Exceptions

Definition at line 65 of file SolidDbManager.php.

◆ execute()

Fossology\Lib\Db\SolidDbManager::execute (   $statementName,
  $params = array() 
)
Parameters
string$statementNamestatement name
array$paramsparameters
Exceptions

Reimplemented from Fossology\Lib\Db\DbManager.

Definition at line 44 of file SolidDbManager.php.

◆ prepare()

Fossology\Lib\Db\SolidDbManager::prepare (   $statementName,
  $sqlStatement 
)
Parameters
$statementName
$sqlStatement
Exceptions

Reimplemented from Fossology\Lib\Db\DbManager.

Definition at line 25 of file SolidDbManager.php.


The documentation for this class was generated from the following file: