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