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

Method getPreparedInfo

lib/metadata/index.js:422–424  ·  view source on GitHub ↗

* Gets the metadata information already stored associated to a prepared statement * @param {String} keyspaceName * @param {String} query * @internal * @ignore

(keyspaceName, query)

Source from the content-addressed store, hash-verified

420 * @ignore
421 */
422 getPreparedInfo(keyspaceName, query) {
423 return this._preparedQueries.getOrAdd(keyspaceName, query);
424 }
425
426 /**
427 * Clears the internal state related to the prepared statements.

Callers 4

getPreparedMethod · 0.80
metadata-tests.jsFile · 0.80

Calls 1

getOrAddMethod · 0.80

Tested by

no test coverage detected