def filter_version(version, app_id):
    low = version_int(version)
    return {'appversion.%s.min__lte' % app_id: low}
Implements the interval functionality for expressions
dataset/ETHPy150Open mozilla/addons-server/src/olympia/legacy_api/utils.py/filter_version--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/db/backends/oracle/base.py/DatabaseOperations.date_interval_sql