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

Method _getFunctionsWrapper

lib/metadata/index.js:558–564  ·  view source on GitHub ↗

* @param {String} keyspaceName * @param {String} name * @private

(keyspaceName, name)

Source from the content-addressed store, hash-verified

556 * @private
557 */
558 async _getFunctionsWrapper(keyspaceName, name) {
559 if (!keyspaceName || !name) {
560 throw new errors.ArgumentError('You must provide the keyspace name and cql function name to retrieve the metadata');
561 }
562 const functionsMap = await this._getFunctions(keyspaceName, name, false);
563 return Array.from(functionsMap.values());
564 }
565
566 /**
567 * Gets a definition of CQL function for a given name and signature.

Callers 1

getFunctionsMethod · 0.95

Calls 3

_getFunctionsMethod · 0.95
fromMethod · 0.80
valuesMethod · 0.65

Tested by

no test coverage detected