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

Function insertDocuments

test/integration/crud/bulk.test.ts:1279–1283  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1277 await operation.execute();
1278
1279 function insertDocuments() {
1280 for (i = 10000; i < 10200; i++) {
1281 operation.insert({ name: 'bob' + i });
1282 }
1283 }
1284
1285 function replaceDocuments() {
1286 for (let i = 0; i < batchSize; i++) {

Callers 1

bulk.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected