Skip to content

Commit fd911fe

Browse files
authored
Merge pull request #6732 from kenjis/fix-docs-database
docs: improve database
2 parents abcde67 + 51f4d4d commit fd911fe

5 files changed

Lines changed: 11 additions & 3 deletions

File tree

user_guide_src/source/database/call_function.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Custom Function Calls
66
:local:
77
:depth: 2
88

9-
$db->callFunction();
10-
============================
9+
$db->callFunction()
10+
===================
1111

1212
This function enables you to call PHP database functions that are not
1313
natively included in CodeIgniter, in a platform-independent manner. For
@@ -17,7 +17,7 @@ do so like this:
1717

1818
.. literalinclude:: call_function/001.php
1919

20-
You must supply the name of the function, **without** the mysql\_
20+
You must supply the name of the function, **without** the ``mysql_``
2121
prefix, in the first parameter. The prefix is added automatically based
2222
on which database driver is currently being used. This permits you to
2323
run the same function on different database platforms. Obviously, not all

user_guide_src/source/database/configuration.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ Explanation of Values:
113113
**username** The username used to connect to the database.
114114
**password** The password used to connect to the database.
115115
**database** The name of the database you want to connect to.
116+
117+
.. note:: CodeIgniter doesn't support dots (``.``) in the database, table, and column names.
116118
**DBDriver** The database type. e.g.,: ``MySQLi``, ``Postgres``, etc. The case must match the driver name
117119
**DBPrefix** An optional table prefix which will added to the table name when running
118120
:doc:`Query Builder <query_builder>` queries. This permits multiple CodeIgniter

user_guide_src/source/database/examples.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The following page contains example code showing how the database class
66
is used. For complete details please read the individual pages
77
describing each function.
88

9+
.. note:: CodeIgniter doesn't support dots (``.``) in the database, table, and column names.
10+
911
.. contents::
1012
:local:
1113
:depth: 2

user_guide_src/source/database/queries.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Queries
1010
Query Basics
1111
************
1212

13+
.. note:: CodeIgniter doesn't support dots (``.``) in the database, table, and column names.
14+
1315
Regular Queries
1416
===============
1517

user_guide_src/source/database/query_builder.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ the query syntax is generated by each database adapter. It also allows
1515
for safer queries, since the values are escaped automatically by the
1616
system.
1717

18+
.. note:: CodeIgniter doesn't support dots (``.``) in the database, table, and column names.
19+
1820
.. contents::
1921
:local:
2022
:depth: 2

0 commit comments

Comments
 (0)