We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6982e9e commit 0cf03d8Copy full SHA for 0cf03d8
reference/constraints/UniqueEntity.rst
@@ -159,6 +159,7 @@ ignoreNull
159
160
**type**: ``Boolean`` **default**: ``true``
161
162
-If this option is set to ``true``, it allows having multiple ``null`` values for
163
-the field(s) without failing the unique constraint. If set to ``false``, only one
164
-``null`` value is allowed.
+If this option is set to ``true``, then the constraint will allow multiple
+entities to have a ``null`` value for a field without failing validation.
+If set to ``false``, only one ``null`` value is allowed - if a second entity
165
+also has a ``null`` value, validation would fail.
0 commit comments