def adapter_for_query(queryObject):
    try:
        return {
                'lowerThan': 'lt',
                'greaterThan': 'gt',
                'lessEqual': 'le',
                'greaterEqual': 'ge',
                'equal': 'e'
        }[queryObject.condition.conditionName]
    except:
        return queryObject.condition.conditionName