File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -466,14 +466,15 @@ def addConditions(self, conditions):
466
466
"""Add conditions to the constraints to build the WHERE clause from.
467
467
468
468
:param conditions: the conditions to restrict the search
469
- result. This must be a list of tuples with a pair of an
470
- attribute name and a condition on that attribute
469
+ result. This must be a list of tuples, each being a pair
470
+ of an attribute name and a condition on that attribute
471
471
respectively. The attribute name may be wrapped with a
472
472
JPQL function (such as "UPPER(title)").
473
473
474
474
For backward compatibility with previous versions, this
475
475
may alternatively be a mapping of attribute names to a
476
- (lists of) conditions.
476
+ (lists of) conditions. This legacy use is deprecated,
477
+ though.
477
478
:type conditions: :class:`list` of :class:`tuple` or :class:`dict`
478
479
:raise ValueError: if any attribute in `conditions` is not valid.
479
480
You can’t perform that action at this time.
0 commit comments