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

Method write

lib/requests.js:396–400  ·  view source on GitHub ↗
(encoder, streamId)

Source from the content-addressed store, hash-verified

394 }
395
396 write(encoder, streamId) {
397 const frameWriter = new FrameWriter(types.opcodes.credentials);
398 frameWriter.writeStringMap({ username:this.username, password:this.password });
399 return frameWriter.write(encoder.protocolVersion, streamId);
400 }
401}
402
403class BatchRequest extends Request {

Callers

nothing calls this directly

Calls 2

writeStringMapMethod · 0.95
writeMethod · 0.95

Tested by

no test coverage detected