

def set_search_path(self, *search_path):
    path_params = ','.join((['%s'] * len(search_path)))
    self.execute_sql(('SET search_path TO %s' % path_params), search_path)

dataset/ETHPy150Open coleifer/peewee/peewee.py PostgresqlDatabase.set_search_path/original