

def escape_postgres_query(self, text):
    'Escapes the given text to become a valid ts_query.'
    return ' & '.join(('$${0}$$'.format(word) for word in escape_query(self).split()))

dataset/ETHPy150Open etianen/django-watson/src/watson/backends.py PostgresLegacySearchBackend.escape_postgres_query/VarMisuse@31/66 `text`->`self`