From 36a000858b5eee13b039aaad490c33b037a1dc05 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Fri, 15 Mar 2024 12:34:54 +0100 Subject: Refs #33996 -- Updated CheckConstraint validation on NULL values on Oracle 23c+. Oracle 23c supports comparing boolean expressions. --- docs/ref/models/constraints.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/ref/models/constraints.txt b/docs/ref/models/constraints.txt index fa6edfd766..fd24eeee3a 100644 --- a/docs/ref/models/constraints.txt +++ b/docs/ref/models/constraints.txt @@ -131,10 +131,10 @@ ensures the age field is never less than 18. name="age_gte_18_and_others", ) -.. admonition:: Oracle +.. admonition:: Oracle < 23c - Checks with nullable fields on Oracle must include a condition allowing for - ``NULL`` values in order for :meth:`validate() ` + Checks with nullable fields on Oracle < 23c must include a condition + allowing for ``NULL`` values in order for :meth:`~BaseConstraint.validate` to behave the same as check constraints validation. For example, if ``age`` is a nullable field:: -- cgit v1.3