def set_initial_keyspace(self, keyspace): c = self.cursor() if self.cql_major_version >= 3: ksname = cql_quote_name(keyspace) else: ksname = cql_quote(keyspace) c.execute('USE %s' % ksname) c.close()
def set_initial_keyspace(self, keyspace): c = self.cursor() c.execute('USE %s' % cql_quote_name(self.keyspace)) c.close()