MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / getKeyspace

Method getKeyspace

lib/metadata/schema-parser.js:913–920  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

911 }
912
913 async getKeyspace(name) {
914 const ks = await this._getKeyspace(_selectSingleKeyspaceV2, name, false);
915 if (!ks) {
916 // if not found, attempt to retrieve as virtual keyspace.
917 return this._getKeyspace(_selectSingleVirtualKeyspace, name, true);
918 }
919 return ks;
920 }
921
922 async _getKeyspace(query, name, virtual) {
923 try {

Callers

nothing calls this directly

Calls 1

_getKeyspaceMethod · 0.95

Tested by

no test coverage detected