Skip to content

Commit

Permalink
docs: fix factory method name
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Nov 30, 2023
1 parent 875972a commit 16cfa1d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion user_guide_src/source/database/utilities/004.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

$dbutil = \CodeIgniter\Database\Config::utils();
$dbutil = \Config\Database::utils();

$dbs = $dbutil->listDatabases();

Expand Down
2 changes: 1 addition & 1 deletion user_guide_src/source/database/utilities/006.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

$dbutil = \CodeIgniter\Database\Config::utils();
$dbutil = \Config\Database::utils();

if ($dbutil->optimizeTable('table_name')) {
echo 'Success!';
Expand Down
2 changes: 1 addition & 1 deletion user_guide_src/source/database/utilities/010.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

$db = db_connect();
$dbutil = \CodeIgniter\Database\Config::utils();
$dbutil = \Config\Database::utils();

$query = $db->query('SELECT * FROM mytable');

Expand Down

0 comments on commit 16cfa1d

Please sign in to comment.