MCPcopy
hub / github.com/mongodb/node-mongodb-native / toObject

Method toObject

src/cmap/wire_protocol/responses.ts:212–218  ·  view source on GitHub ↗
(options?: BSONSerializeOptions)

Source from the content-addressed store, hash-verified

210 }
211
212 public override toObject(options?: BSONSerializeOptions): Record<string, any> {
213 const exactBSONOptions = {
214 ...pluckBSONSerializeOptions(options ?? {}),
215 validation: parseUtf8ValidationOption(options)
216 };
217 return super.toObject(exactBSONOptions);
218 }
219}
220
221/** @internal */

Callers 14

document.test.tsFile · 0.45
throwIfWriteConcernErrorFunction · 0.45
sendCommandMethod · 0.45
commandMethod · 0.45
commandMethod · 0.45
recoveryTokenMethod · 0.45
$clusterTimeMethod · 0.45
postBatchResumeTokenMethod · 0.45
shiftMethod · 0.45
shiftMethod · 0.45

Calls 2

Tested by

no test coverage detected