См. определение в файле sqltrackerquery.php строка 5
◆ __construct()
◆ addLength()
Adds fetched row size to the query statistic.
- Аргументы
-
- Возвращает
- void
См. определение в файле sqltrackerquery.php строка 102
◆ addTime()
Increments sql execution time.
- Аргументы
-
float | $time | Time in seconds to add. |
- Возвращает
- void
См. определение в файле sqltrackerquery.php строка 318
◆ filterTrace()
Removes and formats memory consuming function arguments in the backtrace.
- Аргументы
-
- Возвращает
- array
См. определение в файле sqltrackerquery.php строка 433
◆ finishQuery()
Ends sql timer.
- Аргументы
-
integer | $skip | How many backtrace skip. By default 3. |
- Возвращает
- void
См. определение в файле sqltrackerquery.php строка 61
◆ getBinds()
Returns sql binds used for query execution.
- Возвращает
- array|null
См. определение в файле sqltrackerquery.php строка 218
◆ getFetchedRowsCount()
◆ getLength()
◆ getNode()
Returns sql connection node id of the query.
- Возвращает
- string
См. определение в файле sqltrackerquery.php строка 266
◆ getSelectedFieldsCount()
getSelectedFieldsCount |
( |
| ) |
|
◆ getSelectedRowsCount()
◆ getSql()
◆ getState()
◆ getTime()
◆ getTrace()
◆ hasBigFields()
◆ incrementFetched()
◆ offsetExists()
Whether an offset exists. Part of ArrayAccess implementation made for backward compatibility.
- Аргументы
-
- Возвращает
- boolean
См. определение в файле sqltrackerquery.php строка 358
◆ offsetGet()
Offset to retrieve. Part of ArrayAccess implementation made for backward compatibility.
- Аргументы
-
- Возвращает
- mixed
См. определение в файле sqltrackerquery.php строка 382
◆ offsetSet()
offsetSet |
( |
| $offset, |
|
|
| $value ) |
Offset to set. Part of ArrayAccess implementation made for backward compatibility.
- Аргументы
-
mixed | $offset | Array key. |
mixed | $value | Array value. |
- Возвращает
- void
См. определение в файле sqltrackerquery.php строка 410
◆ offsetUnset()
Offset to unset. Part of ArrayAccess implementation made for backward compatibility.
- Аргументы
-
- Возвращает
- void
См. определение в файле sqltrackerquery.php строка 422
◆ refinishQuery()
Finishes query timer one more time. Use with restartQuery.
- Возвращает
- void
- См. также
- SqlTrackerQuery::restartQuery
См. определение в файле sqltrackerquery.php строка 90
◆ restartQuery()
Resets sql timer start. combined with refinishQuery allows additional time to be included into execution.
- Возвращает
- void
- См. также
- SqlTrackerQuery::refinishQuery
См. определение в файле sqltrackerquery.php строка 78
◆ setBinds()
Sets tracked sql binds. Returns the object for call chaining.
- Аргументы
-
- Возвращает
- SqlTrackerQuery
См. определение в файле sqltrackerquery.php строка 231
◆ setHasBigFields()
setHasBigFields |
( |
bool | $value | ) |
|
◆ setNode()
Sets tracked sql connection node id. Returns the object for call chaining.
- Аргументы
-
string | $node | Cluster node identifier. |
- Возвращает
- SqlTrackerQuery
См. определение в файле sqltrackerquery.php строка 279
◆ setSelectedFieldsCount()
setSelectedFieldsCount |
( |
int | $count | ) |
|
Sets the fields number in the result.
- Аргументы
-
- Возвращает
- void
См. определение в файле sqltrackerquery.php строка 164
◆ setSelectedRowsCount()
setSelectedRowsCount |
( |
int | $count | ) |
|
◆ setSql()
Sets tracked sql text. Returns the object for call chaining.
- Аргументы
-
- Возвращает
- SqlTrackerQuery
См. определение в файле sqltrackerquery.php строка 207
◆ setState()
Sets tracked sql page state. Returns the object for call chaining.
- Аргументы
-
- Возвращает
- SqlTrackerQuery
См. определение в файле sqltrackerquery.php строка 255
◆ setTime()
Sets tracked sql execution time. Returns the object for call chaining.
- Аргументы
-
float | $time | Sql execution time in seconds. |
- Возвращает
- SqlTrackerQuery
См. определение в файле sqltrackerquery.php строка 303
◆ setTrace()
setTrace |
( |
array | $trace = null | ) |
|
Sets tracked sql backtrace. Returns the object for call chaining.
- Аргументы
-
array | null | $trace | Query backtrace. |
- Возвращает
- SqlTrackerQuery
См. определение в файле sqltrackerquery.php строка 343
◆ startQuery()
startQuery |
( |
| $sql, |
|
|
array | $binds = null ) |
Starts sql timer.
- Аргументы
-
string | $sql | Query text. |
array | null | $binds | Binded variables used with query. |
- Возвращает
- void
См. определение в файле sqltrackerquery.php строка 47
◆ $binds
◆ $fetchedRows
◆ $finishTime
◆ $hasBigFields
◆ $lengths
◆ $node
◆ $selectedFieldsCount
int $selectedFieldsCount = 0 |
|
protected |
◆ $selectedRows
◆ $sql
◆ $startTime
◆ $state
◆ $time
◆ $trace
◆ $tracker
Объявления и описания членов класса находятся в файле: