def _whereClauseSql(**whereClauses):
    if whereClauses is not None:
        # wc is an array of "key ='value'" strings from whereClauses,
        # with all entries where value = None removed.
        wc = ["{} = '{}'".format(k, whereClauses[k])
              for k in whereClauses.keys()
              if whereClauses[k] is not None]
        if len(wc) > 0:
            return " WHERE " + " AND ".join(wc)
    else:
        return ""
Release media discover object. If the reference count reaches 0, then
dataset/ETHPy150Open ga4gh/server/ga4gh/sqliteBackend.py/_whereClauseSql--crossover with--dataset/ETHPy150Open disqus/playa/playa/lib/vlc.py/MediaDiscoverer.release