Skip to content

Commit 35f7b1e

Browse files
authored
Update validation.rst
1 parent 2fdc559 commit 35f7b1e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

user_guide_src/source/libraries/validation.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -886,13 +886,6 @@ Available Rules
886886
.. note:: Rule is a string; there must be **no spaces** between the parameters, especially the ``is_unique`` rule.
887887
There can be no spaces before and after ``ignore_value``.
888888

889-
.. note:: Since version v4.6.0, you can optionally include ``dbGroup`` in validation rules like ``is_unique`` and ``is_not_unique``.
890-
This allows specifying which database connection to use during validation, giving you more flexibility when working with multiple databases.
891-
To use ``dbGroup``, you place it before the table name in the validation rule, like this:
892-
``is_unique[dbGroup.table.field,ignore_field,ignore_value]`` or ``is_not_unique[dbGroup.table.field,where_field,where_value]``.
893-
In these examples, ``dbGroup`` is used to select the appropriate database connection for the specified table and field.
894-
If ``dbGroup`` is not provided, the default database group will be used.
895-
896889
.. literalinclude:: validation/038.php
897890
:lines: 2-
898891

0 commit comments

Comments
 (0)