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

Function newInstance

test/unit/encoder-tests.js:1386–1388  ·  view source on GitHub ↗
(protocolVersion, clientOptions)

Source from the content-addressed store, hash-verified

1384}
1385
1386function newInstance(protocolVersion, clientOptions) {
1387 return new Encoder(protocolVersion || types.protocolVersion.maxSupported, clientOptions || {});
1388}
1389
1390function getType(typeCode) {
1391 return { code: typeCode };

Callers 1

encoder-tests.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected