@staticmethod
def apply_schema(cursor, *schemas):
    """ Sets @schemas to the cursor search path.
            @schemas: (#str) one or several schema search paths
        """
    schemas = schemas
    return cursor.execute('SET search_path TO %s' % ', '.join(schemas))
