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

Function makeIndexOperation

test/unit/operations/indexes.test.ts:102–108  ·  view source on GitHub ↗
(input, options: CreateIndexesOptions = {})

Source from the content-addressed store, hash-verified

100 ];
101
102 const makeIndexOperation = (input, options: CreateIndexesOptions = {}) =>
103 CreateIndexesOperation.fromIndexSpecification(
104 { s: { namespace: ns('a.b') } },
105 'b',
106 input,
107 options
108 );
109
110 describe('#constructor()', () => {
111 for (const { description, input, mapData, name } of testCases) {

Callers 1

indexes.test.tsFile · 0.85

Calls 2

nsFunction · 0.85

Tested by

no test coverage detected