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

Public Member Functions

 __construct ($dbConnection)
 
 prepare ($statementName, $sqlStatement)
 
 execute ($statementName, $parameters)
 
 query ($sqlStatement)
 
 isConnected ()
 
 getLastError ()
 
 freeResult ($res)
 
 fetchArray ($res)
 
 fetchAll ($res)
 
 begin ()
 
 commit ()
 
 rollback ()
 
 booleanFromDb ($booleanValue)
 
 booleanToDb ($booleanValue)
 
 escapeString ($string)
 
 existsTable ($tableName)
 
 existsColumn ($tableName, $columnName)
 
 insertPreparedAndReturn ($stmt, $sql, $params, $colName)
 

Private Attributes

 $dbConnection = false
 
 $preparedStmt = array()
 
 $varPrefix = ':var'
 

Detailed Description

SqliteE = Sqlite2.71828182846... < Sqlite3

Definition at line 18 of file SqliteE.php.

Member Function Documentation

◆ begin()

Fossology\Lib\Db\Driver\SqliteE::begin ( )
Returns
void

Implements Fossology\Lib\Db\Driver.

Definition at line 134 of file SqliteE.php.

◆ booleanFromDb()

Fossology\Lib\Db\Driver\SqliteE::booleanFromDb (   $booleanValue)
Parameters
$booleanValue
Returns
boolean

Implements Fossology\Lib\Db\Driver.

Definition at line 162 of file SqliteE.php.

◆ booleanToDb()

Fossology\Lib\Db\Driver\SqliteE::booleanToDb (   $booleanValue)
Parameters
boolean$booleanValue
Returns
mixed

Implements Fossology\Lib\Db\Driver.

Definition at line 171 of file SqliteE.php.

◆ commit()

Fossology\Lib\Db\Driver\SqliteE::commit ( )
Returns
void

Implements Fossology\Lib\Db\Driver.

Definition at line 143 of file SqliteE.php.

◆ escapeString()

Fossology\Lib\Db\Driver\SqliteE::escapeString (   $string)
Parameters
string
Returns
string

Implements Fossology\Lib\Db\Driver.

Definition at line 180 of file SqliteE.php.

◆ execute()

Fossology\Lib\Db\Driver\SqliteE::execute (   $statementName,
  $parameters 
)
Parameters
string$statementName
array$parameters
Returns
resource

Implements Fossology\Lib\Db\Driver.

Definition at line 60 of file SqliteE.php.

◆ existsColumn()

Fossology\Lib\Db\Driver\SqliteE::existsColumn (   $tableName,
  $columnName 
)
Parameters
$tableName
$columnName
Returns
bool

Implements Fossology\Lib\Db\Driver.

Definition at line 206 of file SqliteE.php.

◆ existsTable()

Fossology\Lib\Db\Driver\SqliteE::existsTable (   $tableName)
Parameters
string$tableName
Returns
bool

Implements Fossology\Lib\Db\Driver.

Definition at line 189 of file SqliteE.php.

◆ fetchAll()

Fossology\Lib\Db\Driver\SqliteE::fetchAll (   $res)
Parameters
ressource
Returns
array

Implements Fossology\Lib\Db\Driver.

Definition at line 122 of file SqliteE.php.

◆ fetchArray()

Fossology\Lib\Db\Driver\SqliteE::fetchArray (   $res)
Parameters
ressource
Returns
array

Implements Fossology\Lib\Db\Driver.

Definition at line 113 of file SqliteE.php.

◆ freeResult()

Fossology\Lib\Db\Driver\SqliteE::freeResult (   $res)
Parameters
SQLite3Result
Returns
bool

Implements Fossology\Lib\Db\Driver.

Definition at line 104 of file SqliteE.php.

◆ getLastError()

Fossology\Lib\Db\Driver\SqliteE::getLastError ( )
Returns
string

Implements Fossology\Lib\Db\Driver.

Definition at line 95 of file SqliteE.php.

◆ insertPreparedAndReturn()

Fossology\Lib\Db\Driver\SqliteE::insertPreparedAndReturn (   $stmt,
  $sql,
  $params,
  $colName 
)
Parameters
string$stmt
string$sql
array$params
string$colName

Implements Fossology\Lib\Db\Driver.

Definition at line 218 of file SqliteE.php.

◆ isConnected()

Fossology\Lib\Db\Driver\SqliteE::isConnected ( )
Returns
bool

Implements Fossology\Lib\Db\Driver.

Definition at line 87 of file SqliteE.php.

◆ prepare()

Fossology\Lib\Db\Driver\SqliteE::prepare (   $statementName,
  $sqlStatement 
)
Parameters
string$statementName
string$sqlStatement
Returns
resource

Implements Fossology\Lib\Db\Driver.

Definition at line 37 of file SqliteE.php.

◆ query()

Fossology\Lib\Db\Driver\SqliteE::query (   $sqlStatement)
Parameters
string$sqlStatement
Returns
resource

Implements Fossology\Lib\Db\Driver.

Definition at line 79 of file SqliteE.php.

◆ rollback()

Fossology\Lib\Db\Driver\SqliteE::rollback ( )
Returns
void

Implements Fossology\Lib\Db\Driver.

Definition at line 152 of file SqliteE.php.


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