// docs

SQL queries

Inspect the queries a snippet ran, including bindings and timing.

When a snippet runs database queries, LaraBench can show the SQL that was executed. This is useful when the output looks right but you want to know what it cost.

  • See executed query text.
  • Inspect bindings without adding temporary logging.
  • Check timing for slow queries.
  • Review the connection each query ran on.
Post::query()
    ->with('author')
    ->latest()
    ->limit(10)
    ->get();
The SQL panel keeps query text, bindings, timing, and connection metadata close to the result output.