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

Method ns

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

Source from the content-addressed store, hash-verified

255 }
256
257 public get ns() {
258 const namespace = this.cursor.get('ns', BSONType.string);
259 if (namespace != null) return ns(namespace);
260 return null;
261 }
262
263 public get length() {
264 return Math.max(this.batchSize - this.iterated, 0);

Callers

nothing calls this directly

Calls 2

nsFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected