File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -466,14 +466,15 @@ def addConditions(self, conditions):
466466 """Add conditions to the constraints to build the WHERE clause from.
467467
468468 :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
471471 respectively. The attribute name may be wrapped with a
472472 JPQL function (such as "UPPER(title)").
473473
474474 For backward compatibility with previous versions, this
475475 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.
477478 :type conditions: :class:`list` of :class:`tuple` or :class:`dict`
478479 :raise ValueError: if any attribute in `conditions` is not valid.
479480
You can’t perform that action at this time.
0 commit comments