From 9653213914db5742ef73951013df1c1f0a0059cb Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Tue, 4 Feb 2014 00:02:09 +0100 Subject: [PATCH] Add warning about non scalar use in Criteria. --- docs/en/reference/working-with-associations.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/en/reference/working-with-associations.rst b/docs/en/reference/working-with-associations.rst index f79da752d..a762ee9ac 100644 --- a/docs/en/reference/working-with-associations.rst +++ b/docs/en/reference/working-with-associations.rst @@ -702,3 +702,8 @@ methods: * ``notIn($field, array $values)`` +.. note:: + + There is a limitation on the compatibility of Criteria comparisons. + You have to use scalar values only as the value in a comparison or + the behaviour between different backends is not the same.