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

Method newQueryPlan

test/test-helper.js:2036–2042  ·  view source on GitHub ↗
(keyspace, info, callback)

Source from the content-addressed store, hash-verified

2034 }
2035
2036 newQueryPlan(keyspace, info, callback) {
2037 const hosts = !this.addresses
2038 ? this.hosts.values()
2039 : this.addresses.map(address => this.hosts.get(address));
2040
2041 return callback(null, hosts[Symbol.iterator]());
2042 }
2043}
2044
2045

Callers 1

test-helper.jsFile · 0.45

Calls 2

valuesMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected