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

Method id

src/cmap/wire_protocol/responses.ts:249–255  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

247 }
248
249 public get id(): Long {
250 try {
251 return Long.fromBigInt(this.cursor.get('id', BSONType.long, true));
252 } catch (cause) {
253 throw new MongoUnexpectedServerResponseError(cause.message, { cause });
254 }
255 }
256
257 public get ns() {
258 const namespace = this.cursor.get('ns', BSONType.string);

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected