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

Method getKeyspace

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

Source from the content-addressed store, hash-verified

641 }
642
643 async getKeyspace(name) {
644 const row = await this._getFirstRow(format(_selectSingleKeyspaceV2, name));
645 if (!row) {
646 return null;
647 }
648 return this._parseKeyspace(row);
649 }
650
651 async getMaterializedView(keyspaceName, name, cache) {
652 let viewInfo = cache && cache[name];

Callers

nothing calls this directly

Calls 2

_parseKeyspaceMethod · 0.95
_getFirstRowMethod · 0.80

Tested by

no test coverage detected