Tinkerwell 4 is out now! See what's new or buy now.
Tinkerwell background image
Tinkerwell Logo Tinkerwell
Hey! You are currently looking at the documentation for Tinkerwell 2. The latest version of the documentation is available here.

Query inspection
#

Tinkerwell allows you to inspect any code snippet and see all of the underlying Eloquent queries that were executed in this snippet.

To use this feature, select the code snippet that you want to inspect the Eloquent queries in and press Cmd/Ctrl+Shift+R. This will evaluate your code and the output panel will show you all queries that were executed in your highlighted code snippet, including all query bindings that were used.

This feature only works with code that has proper line endings with ;

Note: As this feature relies on Laravels database query listeners, this feature is only available for Laravel applications.