Skip to content

Commit 6699530

Browse files
authored
Merge pull request #6128 from kenjis/fix-docs-database-events
docs: small fix in database events
2 parents 89223f7 + 05c6b49 commit 6699530

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

user_guide_src/source/database/events.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ uses this to collect the queries to display in the Toolbar.
1111
:local:
1212
:depth: 2
1313

14-
==========
14+
**********
1515
The Events
16-
==========
16+
**********
1717

18-
**DBQuery**
18+
DBQuery
19+
=======
1920

2021
This event is triggered whenever a new query has been run, whether successful or not. The only parameter is
2122
a :doc:`Query </database/queries>` instance of the current query. You could use this to display all queries
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?php
22

3-
// In Config\Events.php
3+
// In app/Config/Events.php
44
Events::on('DBQuery', 'CodeIgniter\Debug\Toolbar\Collectors\Database::collect');

0 commit comments

Comments
 (0)