fix: do not filter keyspaces

This commit is contained in:
Nybkox
2025-01-28 17:28:31 +01:00
parent 3d23a13c34
commit ca8b7911a6

View File

@@ -146,9 +146,7 @@ const driver = {
},
// list databases on server
async listDatabases(dbhan) {
const result = await dbhan.client.execute(
"SELECT keyspace_name FROM system_schema.keyspaces WHERE keyspace_name >= 'system' ALLOW FILTERING"
);
const result = await dbhan.client.execute('SELECT keyspace_name FROM system_schema.keyspaces');
return result.rows.map((row) => ({ name: row.keyspace_name }));
},