query_data = {}
logger.debug("QuerySubscription--get--multi--subscriptions--biz::> Check "
"for filters in query params %s" % params)
query_data = {}
logger.debug("QuerySubscription--get--multi--subscriptions--biz::> Check "
"for filters in query params %s" % params)
if query in ROOT_FILTERS:
query_data[ROOT_FILTERS[query] + '__icontains'] = value
# Query the database with filters if the request has fields in request params, else fetch all records
if query in ROOT_FILTERS:
query_data[ROOT_FILTERS[query] + '__icontains'] = value
# Query the database with filters if the request has fields in request params, else fetch all records