File tree Expand file tree Collapse file tree 1 file changed +22
-3
lines changed
user_guide_src/source/database Expand file tree Collapse file tree 1 file changed +22
-3
lines changed Original file line number Diff line number Diff line change 1
- #########
2
- Utilities
3
- #########
1
+ ######################
2
+ Database Utility Class
3
+ ######################
4
4
5
5
The Database Utility Class contains methods that help you manage your database.
6
6
7
7
.. contents ::
8
8
:local:
9
9
:depth: 2
10
10
11
+ ******************************
12
+ Initializing the Utility Class
13
+ ******************************
14
+
15
+ Load the Utility Class as follows::
16
+
17
+ $dbutil = \CodeIgniter\Database\Config::utils();
18
+
19
+ You can also pass another database group to the DB Utility loader, in case
20
+ the database you want to manage isn't the default one::
21
+
22
+ $dbutil = \CodeIgniter\Database\Config::utils('group_name')
23
+
24
+ In the above example, we're passing a database group name as the first
25
+ parameter.
26
+
27
+ ****************************
28
+ Using the Database Utilities
29
+ ****************************
11
30
12
31
Export a Query Result as an XML Document
13
32
========================================
You can’t perform that action at this time.
0 commit comments