[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/maximebf/debugbar/src/DebugBar/DataCollector/PDO/ -> TracedStatement.php (summary)

(no description)

File Size: 271 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

TracedStatement:: (20 methods):
  __construct()
  start()
  end()
  checkParameters()
  getSql()
  getSqlWithParams()
  getRowCount()
  getParameters()
  getPreparedId()
  isPrepared()
  getStartTime()
  getEndTime()
  getDuration()
  getStartMemory()
  getEndMemory()
  getMemoryUsage()
  isSuccess()
  getException()
  getErrorCode()
  getErrorMessage()


Class: TracedStatement  - X-Ref

Holds information about a statement

__construct($sql, array $params = [], $preparedId = null)   X-Ref

param: string $sql
param: array $params
param: string $preparedId

start($startTime = null, $startMemory = null)   X-Ref

param: null $startTime
param: null $startMemory

end(\Exception $exception = null, $rowCount = 0, $endTime = null, $endMemory = null)   X-Ref

param: \Exception|null $exception
param: int $rowCount
param: float $endTime
param: int $endMemory

checkParameters($params)   X-Ref
Check parameters for illegal (non UTF-8) strings, like Binary data.

param: array $params
return: array

getSql()   X-Ref
Returns the SQL string used for the query, without filled parameters

return: string

getSqlWithParams($quotationChar = '<>')   X-Ref
Returns the SQL string with any parameters used embedded

param: string $quotationChar
return: string

getRowCount()   X-Ref
Returns the number of rows affected/returned

return: int

getParameters()   X-Ref
Returns an array of parameters used with the query

return: array

getPreparedId()   X-Ref
Returns the prepared statement id

return: string

isPrepared()   X-Ref
Checks if this is a prepared statement

return: boolean

getStartTime()   X-Ref

return: float

getEndTime()   X-Ref

return: float

getDuration()   X-Ref
Returns the duration in seconds + microseconds of the execution

return: float

getStartMemory()   X-Ref

return: int

getEndMemory()   X-Ref

return: int

getMemoryUsage()   X-Ref
Returns the memory usage during the execution

return: int

isSuccess()   X-Ref
Checks if the statement was successful

return: boolean

getException()   X-Ref
Returns the exception triggered

return: \Exception

getErrorCode()   X-Ref
Returns the exception's code

return: int|string

getErrorMessage()   X-Ref
Returns the exception's message

return: string



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer