Skip to content

Commit c656564

Browse files
committed
docs: add section for database in Enhancements
1 parent 6000d30 commit c656564

1 file changed

Lines changed: 13 additions & 8 deletions

File tree

user_guide_src/source/changelogs/v4.2.0.rst

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,18 @@ Commands
5858
- ``spark db:table my_table --metadata``
5959
- The ``spark routes`` command now shows closure routes, auto routes, and filters. See :ref:`URI Routing <spark-routes>`.
6060

61+
Database
62+
========
63+
64+
- Added Subqueries in the FROM section. See :ref:`query-builder-from-subquery`.
65+
- Added Subqueries in the SELECT section. See :ref:`query-builder-select`.
66+
- The BaseBuilder::buildSubquery() method can take an optional third argument ``string $alias``.
67+
- Added new OCI8 driver for database.
68+
- It can access Oracle Database and supports SQL and PL/SQL statements.
69+
- QueryBuilder raw SQL string support
70+
- Added the class ``CodeIgniter\Database\RawSql`` which expresses raw SQL strings.
71+
- :ref:`select() <query-builder-select-rawsql>`, :ref:`where() <query-builder-where-rawsql>`, :ref:`like() <query-builder-like-rawsql>` accept the ``CodeIgniter\Database\RawSql`` instance.
72+
6173
Others
6274
======
6375

@@ -67,21 +79,14 @@ Others
6779
- Added the functions ``csp_script_nonce()`` and ``csp_style_nonce()`` to get nonce attributes
6880
- See :ref:`content-security-policy` for details.
6981
- New :doc:`../outgoing/view_decorators` allow modifying the generated HTML prior to caching.
70-
- Added Subqueries in the FROM section. See :ref:`query-builder-from-subquery`.
71-
- Added Subqueries in the SELECT section. See :ref:`query-builder-select`.
72-
- The BaseBuilder::buildSubquery() method can take an optional third argument ``string $alias``.
7382
- Added Validation Strict Rules. See :ref:`validation-traditional-and-strict-rules`.
74-
- Added new OCI8 driver for database.
75-
- It can access Oracle Database and supports SQL and PL/SQL statements.
83+
- The ``spark routes`` command now shows closure routes, auto routes, and filters. See :ref:`URI Routing <spark-routes>`.
7684
- Exception information logged through ``log_message()`` has now improved. It now includes the file and line where the exception originated. It also does not truncate the message anymore.
7785
- The log format has also changed. If users are depending on the log format in their apps, the new log format is "<1-based count> <cleaned filepath>(<line>): <class><function><args>"
7886
- Added support for webp files to **app/Config/Mimes.php**.
7987
- Added 4th parameter ``$includeDir`` to ``get_filenames()``. See :php:func:`get_filenames`.
8088
- HTML helper ``script_tag()`` now uses ``null`` values to write boolean attributes in minimized form: ``<script src="..." defer />``. See the sample code for :php:func:`script_tag`.
8189
- RouteCollection::addRedirect() can now use placeholders.
82-
- QueryBuilder raw SQL string support
83-
- Added the class ``CodeIgniter\Database\RawSql`` which expresses raw SQL strings.
84-
- :ref:`select() <query-builder-select-rawsql>`, :ref:`where() <query-builder-where-rawsql>`, :ref:`like() <query-builder-like-rawsql>` accept the ``CodeIgniter\Database\RawSql`` instance.
8590
- Debugbar enhancements
8691
- Debug toolbar is now using ``microtime()`` instead of ``time()``.
8792

0 commit comments

Comments
 (0)