Skip to content

queryset.filter_query

FilterQuery Objects

1
class FilterQuery()

Modifies the select query with given list of where/filter clauses.

apply

1
 | apply(expr: sqlalchemy.sql.select) -> sqlalchemy.sql.select

Applies all filter clauses if set.

Arguments:

  • expr: query to modify :type expr: sqlalchemy.sql.selectable.Select

Returns:

modified query :rtype: sqlalchemy.sql.selectable.Select