Skip to content

Commit 518cab4

Browse files
committed
docs: add about DB caching
1 parent 1973c35 commit 518cab4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

user_guide_src/source/installation/upgrade_database.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Documentations
1414
What has been changed
1515
=====================
1616
- The functionality in CI3 is basically the same as in CI4.
17+
- `Database Caching <https://www.codeigniter.com/userguide3/database/caching.html>`_ in CI3 is removed.
1718
- The method names have changed to camelCase and the :doc:`Query Builder <../database/query_builder>`
1819
now needs to be initialized before you can run queries on it.
1920

@@ -40,6 +41,8 @@ Upgrade Guide
4041
- ``$this->db->select_max('age');`` to ``$builder->selectMax('age');``
4142
- ``$this->db->join('comments', 'comments.id = blogs.id');`` to ``$builder->join('comments', 'comments.id = blogs.id');``
4243
- ``$this->db->having('user_id', 45);`` to ``$builder->having('user_id', 45);``
44+
6. CI4 does not provide `Database Caching <https://www.codeigniter.com/userguide3/database/caching.html>`_
45+
in CI3, so if you need to cache the result, use :doc:`../libraries/caching` instead.
4346

4447
Code Example
4548
============

0 commit comments

Comments
 (0)