Skip to content

Commit

Permalink
Merge pull request #8313 from kenjis/docs-spark-db-table-dbgroup
Browse files Browse the repository at this point in the history
docs: spark db:table --dbgroup
  • Loading branch information
kenjis authored Dec 9, 2023
2 parents 885d1bb + ff0f969 commit f8b1a9b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions user_guide_src/source/changelogs/v4.5.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <db-command-specify-the-dbgroup>`.

Testing
=======
Expand Down
16 changes: 16 additions & 0 deletions user_guide_src/source/dbmgmt/db_commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
=====================

Expand Down

0 comments on commit f8b1a9b

Please sign in to comment.