OpMsg

class OpMsg(val body: MessageSection.Body, val sequences: Sequence<MessageSection.DocumentSequence> = emptySequence()) : Message(source)

The OP_MSG message, introduced in MongoDB 3.6.

External resources

Constructors

Link copied to clipboard
constructor(body: MessageSection.Body, sequences: Sequence<MessageSection.DocumentSequence> = emptySequence())
constructor(body: MessageSection.Body, vararg sequences: MessageSection.DocumentSequence)

Properties

Link copied to clipboard
Link copied to clipboard
open override val opcode: Int

The message type.

Functions

Link copied to clipboard
open override fun toString(): String