(name, connection=None)
| 140 | raise ValueError('Connections must be a list or a tuple.') |
| 141 | |
| 142 | def _drop_keyspace(name, connection=None): |
| 143 | cluster = get_cluster(connection) |
| 144 | if name in cluster.metadata.keyspaces: |
| 145 | execute("DROP KEYSPACE {0}".format(metadata.protect_name(name)), connection=connection) |
| 146 | |
| 147 | if connections: |
| 148 | for connection in connections: |
no test coverage detected