Skip to content

Commit f8b1a9b

Browse files
authored
Merge pull request #8313 from kenjis/docs-spark-db-table-dbgroup
docs: spark db:table --dbgroup
2 parents 885d1bb + ff0f969 commit f8b1a9b

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

user_guide_src/source/changelogs/v4.5.0.rst

+2
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@ Commands
233233
- Added ``spark config:check`` command to check Config values. See
234234
:ref:`confirming-config-values` for the details.
235235
- Added ``spark lang:find`` command to update translations keys. See :ref:`generating-translation-files-via-command` for the details.
236+
- The ``--dbgroup`` option has been added to the ``spark db:table`` command.
237+
See :ref:`Database Commands <db-command-specify-the-dbgroup>`.
236238

237239
Testing
238240
=======

user_guide_src/source/dbmgmt/db_commands.rst

+16
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,22 @@ you can use the ``db:table --show`` command:
2828
When using this command it is assumed that a table exists.
2929
Otherwise, CodeIgniter will complain that the database has no tables.
3030

31+
.. _db-command-specify-the-dbgroup:
32+
33+
Specify the Database Group
34+
==========================
35+
36+
db:table --dbgroup
37+
------------------
38+
39+
.. versionadded:: 4.5.0
40+
41+
You can specify the database group to use with the ``--dbgroup`` option:
42+
43+
.. code-block:: console
44+
45+
php spark db:table --show --dbgroup tests
46+
3147
Retrieve Some Records
3248
=====================
3349

0 commit comments

Comments
 (0)