Documentation

SqlTrackerQuery

SqlTrackerQuery class for tracking queries, provides for execution of \ArrayAccess.

Method Description Available from version
startQuery Launches SQL timer
setTrace Sets tracing for tracked SQL query.
setTime Sets execution time for traced SQL query.
setState Sets status for traced SQL page.
setSql Sets text for traced SQL query.
setNode ~Sets ID for tracked connection node.
setBinds Sets binds for tracked SQL query.
restartQuery Resets timer start for SQL query.
refinishQuery Refinishes query timer.
offsetUnset Disables offset.
offsetSet Enables offset.
offsetGet Gets an offset.
offsetExists Checks existing offset.
getTrace Returns query tracing.
getTime Returns query execution time
getState Returns query page status.
getSql Returns text for tracked SQL query
getNode Returns node ID for SQL connection query.
getBinds Returns SQL binds list used for query execution.
finishQuery Finishes SQL timer operation.
addTime Adds time for query execution.


© «Bitrix24», 2001-2024
Up