Skip to content

Commit b823b59

Browse files
committed
docs: add Commnads section in changelog
1 parent e6b7d18 commit b823b59

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

user_guide_src/source/changelogs/v4.2.0.rst

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,17 @@ Added an optional new more secure auto router. These are the changes from the le
4444

4545
See :ref:`auto-routing-improved` for the details.
4646

47+
Commands
48+
========
49+
50+
- Added ``db:table`` command.
51+
- You can now see the names of all the tables in the database you are currently connected, field names or other metadata, like the column type, max length and ... each table, and the information in that table in the terminal.
52+
- ``db:table --show``
53+
- ``db:table my_table``
54+
- ``db:table my_table --metadata``
55+
- ``db:table my_table --limit-row 50 --limit-field-value 20 --desc``
56+
- The ``spark routes`` command now shows closure routes, auto routes, and filters. See :ref:`URI Routing <spark-routes>`.
57+
4758
Others
4859
======
4960

@@ -58,7 +69,6 @@ Others
5869
- Added Validation Strict Rules. See :ref:`validation-traditional-and-strict-rules`.
5970
- Added new OCI8 driver for database.
6071
- It can access Oracle Database and supports SQL and PL/SQL statements.
61-
- The ``spark routes`` command now shows closure routes, auto routes, and filters. See :ref:`URI Routing <spark-routes>`.
6272
- 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.
6373
- 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>"
6474
- Added support for webp files to **app/Config/Mimes.php**.
@@ -70,12 +80,6 @@ Others
7080
- :ref:`select() <query-builder-select-rawsql>`, :ref:`where() <query-builder-where-rawsql>`, :ref:`like() <query-builder-like-rawsql>` accept the ``CodeIgniter\Database\RawSql`` instance.
7181
- Debugbar enhancements
7282
- Debug toolbar is now using ``microtime()`` instead of ``time()``.
73-
- Added new Command for CLI.
74-
- ``db:table`` - You can now see the names of all the tables in the database you are currently connected, field names or other metadata, like the column type, max length and ... each table, and the information in that table in the terminal.
75-
- ``db:table --show``
76-
- ``db:table my_table``
77-
- ``db:table my_table --metadata``
78-
- ``db:table my_table --limit-row 50 --limit-field-value 20 --desc``
7983

8084
Changes
8185
*******

0 commit comments

Comments
 (0)