We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 89223f7 + 05c6b49 commit 6699530Copy full SHA for 6699530
2 files changed
user_guide_src/source/database/events.rst
@@ -11,11 +11,12 @@ uses this to collect the queries to display in the Toolbar.
11
:local:
12
:depth: 2
13
14
-==========
+**********
15
The Events
16
17
18
-**DBQuery**
+DBQuery
19
+=======
20
21
This event is triggered whenever a new query has been run, whether successful or not. The only parameter is
22
a :doc:`Query </database/queries>` instance of the current query. You could use this to display all queries
user_guide_src/source/database/events/001.php
@@ -1,4 +1,4 @@
1
<?php
2
3
-// In Config\Events.php
+// In app/Config/Events.php
4
Events::on('DBQuery', 'CodeIgniter\Debug\Toolbar\Collectors\Database::collect');
0 commit comments