Skip to content
PHP Ecosystem
Explore

DbMessage

API reference › Debug Core › Panel › Db › DbMessage

enumPHPForge\Debug\Panel\Db\DbMessage
Backed bystring
Sourcesrc/Panel/Db/DbMessage.php

Text shared by the Database panel and its query controls.

CaseValueDescription
CAPTURE_GUIDANCE'Configure the development connection with %s. Rows are shown only when the driver ' . 'reports them. After a redirect, open the previous request from History.'Guidance of the empty state, naming the profiler the adapter must wire so statements are captured.
DUPLICATE'Dup'Header of the column counting how many times the exact same statement ran.
DUPLICATE_SUFFIX' duplicated'Suffix appended to the duplicated-row count in the summary header.
DURATION'Duration'Header of the execution-time column.
EMPTY_EXPLANATION'This request completed without executing SQL through an instrumented DB connection.'Explanation of the empty state, naming the instrumented connection that feeds the panel.
EMPTY_HEADLINE'No database queries in this request'Headline of the empty state when the request executed no query.
EXPLAIN_ALL'Explain all'Label of the button that expands every EXPLAIN plan on the page.
EXPLAIN_UNAVAILABLE'EXPLAIN is not available for this query or connection.'Error rendered instead of a plan when the statement or the connection cannot be explained.
NO_MATCH_EXPLANATION'Remove an active filter or clear all filters to see the captured queries.'Explanation of the no-match state, offering the filter reset.
NO_MATCH_HEADLINE'No database queries match these filters'Headline of the no-match state when the active filters exclude every captured query.
PAGE_SCOPE'on this page'Scope appended to the N+1 summary heading, since detection covers the current page only.
QUERY'Query'Header of the SQL statement column, also used as its filter label.
QUERY_COUNT_SUFFIX' queries'Suffix appended to the query count in the summary header.
ROWS'Rows'Header of the column showing the driver-reported row count.
TIME'Time'Header of the capture-time column, which sorts by sequence.
TOOLBAR_CALLERS_MANY'%d callers are making too many calls.'sprintf() template of the toolbar warning when several call sites exceed the caller threshold.
TOOLBAR_CALLERS_ONE'%d caller is making too many calls.'sprintf() template of the toolbar warning when one call site exceeds the caller threshold.
TOOLBAR_CRITICAL'Too many queries, allowed count is %d.'sprintf() template of the toolbar warning when the query count exceeds the critical threshold.
TOOLBAR_EXECUTED'Executed %d database queries.'sprintf() template of the toolbar tooltip when no threshold is exceeded.
TOTAL_SUFFIX' ms total'Suffix appended to the total duration in the summary header.
TOTAL_TIME'Total query time'Title of the toolbar chip showing the total query time.
TRACE'Trace'Label of the disclosure that reveals the captured backtrace of a query.
TYPE'Type'Header of the statement-verb column, also used as its filter label.