private createCollectionFunctionsCompletions()

in src/mongo/services/completionItemProvider.ts [321:373]


    private createCollectionFunctionsCompletions(range: Range): Promise<CompletionItem[]> {
        return this.thenable(
            this.createFunctionCompletion('bulkWrite', range),
            this.createFunctionCompletion('count', range),
            this.createFunctionCompletion('copyTo', range),
            this.createFunctionCompletion('convertToCapped', range),
            this.createFunctionCompletion('createIndex', range),
            this.createFunctionCompletion('createIndexes', range),
            this.createFunctionCompletion('dataSize', range),
            this.createFunctionCompletion('deleteOne', range),
            this.createFunctionCompletion('deleteMany', range),
            this.createFunctionCompletion('distinct', range),
            this.createFunctionCompletion('drop', range),
            this.createFunctionCompletion('dropIndex', range),
            this.createFunctionCompletion('dropIndexes', range),
            this.createFunctionCompletion('ensureIndex', range),
            this.createFunctionCompletion('explain', range),
            this.createFunctionCompletion('reIndex', range),
            this.createFunctionCompletion('find', range),
            this.createFunctionCompletion('findOne', range),
            this.createFunctionCompletion('findOneAndDelete', range),
            this.createFunctionCompletion('findOneAndReplace', range),
            this.createFunctionCompletion('findOneAndUpdate', range),
            this.createFunctionCompletion('getDB', range),
            this.createFunctionCompletion('getPlanCache', range),
            this.createFunctionCompletion('getIndexes', range),
            this.createFunctionCompletion('group', range),
            this.createFunctionCompletion('insert', range),
            this.createFunctionCompletion('insertOne', range),
            this.createFunctionCompletion('insertMany', range),
            this.createFunctionCompletion('mapReduce', range),
            this.createFunctionCompletion('aggregate', range),
            this.createFunctionCompletion('remove', range),
            this.createFunctionCompletion('replaceOne', range),
            this.createFunctionCompletion('renameCollection', range),
            this.createFunctionCompletion('runCommand', range),
            this.createFunctionCompletion('save', range),
            this.createFunctionCompletion('stats', range),
            this.createFunctionCompletion('storageSize', range),
            this.createFunctionCompletion('totalIndexSize', range),
            this.createFunctionCompletion('update', range),
            this.createFunctionCompletion('updateOne', range),
            this.createFunctionCompletion('updateMany', range),
            this.createFunctionCompletion('validate', range),
            this.createFunctionCompletion('getShardVersion', range),
            this.createFunctionCompletion('getShardDistribution', range),
            this.createFunctionCompletion('getSplitKeysForChunks', range),
            this.createFunctionCompletion('getWriteConcern', range),
            this.createFunctionCompletion('setWriteConcern', range),
            this.createFunctionCompletion('unsetWriteConcern', range),
            this.createFunctionCompletion('latencyStats', range)
        );
    }