Example #1
0
 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()
Example #2
0
 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()
Example #3
0
 def set_initial_keyspace(self, keyspace):
     c = self.cursor()
     c.execute('USE %s' % cql_quote_name(self.keyspace))
     c.close()
Example #4
0
 def set_initial_keyspace(self, keyspace):
     c = self.cursor()
     c.execute('USE %s' % cql_quote_name(self.keyspace))
     c.close()