diff --git a/user_guide_src/source/changelogs/v4.5.0.rst b/user_guide_src/source/changelogs/v4.5.0.rst index 4be91284d68a..d1ded3089280 100644 --- a/user_guide_src/source/changelogs/v4.5.0.rst +++ b/user_guide_src/source/changelogs/v4.5.0.rst @@ -233,6 +233,8 @@ Commands - Added ``spark config:check`` command to check Config values. See :ref:`confirming-config-values` for the details. - Added ``spark lang:find`` command to update translations keys. See :ref:`generating-translation-files-via-command` for the details. +- The ``--dbgroup`` option has been added to the ``spark db:table`` command. + See :ref:`Database Commands `. Testing ======= diff --git a/user_guide_src/source/dbmgmt/db_commands.rst b/user_guide_src/source/dbmgmt/db_commands.rst index 2e5bdb9cd656..919b77feefc6 100644 --- a/user_guide_src/source/dbmgmt/db_commands.rst +++ b/user_guide_src/source/dbmgmt/db_commands.rst @@ -28,6 +28,22 @@ you can use the ``db:table --show`` command: When using this command it is assumed that a table exists. Otherwise, CodeIgniter will complain that the database has no tables. +.. _db-command-specify-the-dbgroup: + +Specify the Database Group +========================== + +db:table --dbgroup +------------------ + +.. versionadded:: 4.5.0 + +You can specify the database group to use with the ``--dbgroup`` option: + +.. code-block:: console + + php spark db:table --show --dbgroup tests + Retrieve Some Records =====================