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

Function getKindByName

lib/metadata/schema-index.js:144–149  ·  view source on GitHub ↗

* Gets the number representing the kind based on the name * @param {String} name * @returns {Number} * @private

(name)

Source from the content-addressed store, hash-verified

142 * @private
143 */
144function getKindByName(name) {
145 if (!name) {
146 return kind.custom;
147 }
148 return kind[name.toLowerCase()];
149}
150
151module.exports = Index;

Callers 2

IndexFunction · 0.85
schema-index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected