Add index the existing Collection
const index:Index = { path:'/city', // a top level field name 'city' and the path will be '/city' indexType: IndexType.StringKey } const result = await addIndex(collection, [index]) Copy
const index:Index = { path:'/city', // a top level field name 'city' and the path will be '/city' indexType: IndexType.StringKey } const result = await addIndex(collection, [index])
the index list of Index
the MutationResult
Generated using TypeDoc
Add index the existing Collection