in src/mongo/services/completionItemProvider.ts [249:301]
private createDbFunctionCompletions(range: Range): Promise<CompletionItem[]> {
return this.thenable(
this.createFunctionCompletion('adminCommand', range),
this.createFunctionCompletion('auth', range),
this.createFunctionCompletion('cloneDatabase', range),
this.createFunctionCompletion('commandHelp', range),
this.createFunctionCompletion('copyDatabase', range),
this.createFunctionCompletion('createCollection', range),
this.createFunctionCompletion('createView', range),
this.createFunctionCompletion('createUser', range),
this.createFunctionCompletion('currentOp', range),
this.createFunctionCompletion('dropDatabase', range),
this.createFunctionCompletion('eval', range),
this.createFunctionCompletion('fsyncLock', range),
this.createFunctionCompletion('fsyncUnLock', range),
this.createFunctionCompletion('getCollection', range),
this.createFunctionCompletion('getCollectionInfos', range),
this.createFunctionCompletion('getCollectionNames', range),
this.createFunctionCompletion('getLastError', range),
this.createFunctionCompletion('getLastErrorObj', range),
this.createFunctionCompletion('getLogComponents', range),
this.createFunctionCompletion('getMongo', range),
this.createFunctionCompletion('getName', range),
this.createFunctionCompletion('getPrevError', range),
this.createFunctionCompletion('getProfilingLevel', range),
this.createFunctionCompletion('getProfilingStatus', range),
this.createFunctionCompletion('getReplicationInfo', range),
this.createFunctionCompletion('getSiblingDB', range),
this.createFunctionCompletion('getWriteConcern', range),
this.createFunctionCompletion('hostInfo', range),
this.createFunctionCompletion('isMaster', range),
this.createFunctionCompletion('killOp', range),
this.createFunctionCompletion('listCommands', range),
this.createFunctionCompletion('loadServerScripts', range),
this.createFunctionCompletion('logout', range),
this.createFunctionCompletion('printCollectionStats', range),
this.createFunctionCompletion('printReplicationInfo', range),
this.createFunctionCompletion('printShardingStatus', range),
this.createFunctionCompletion('printSlaveReplicationInfo', range),
this.createFunctionCompletion('dropUser', range),
this.createFunctionCompletion('repairDatabase', range),
this.createFunctionCompletion('runCommand', range),
this.createFunctionCompletion('serverStatus', range),
this.createFunctionCompletion('setLogLevel', range),
this.createFunctionCompletion('setProfilingLevel', range),
this.createFunctionCompletion('setWriteConcern', range),
this.createFunctionCompletion('unsetWriteConcern', range),
this.createFunctionCompletion('setVerboseShell', range),
this.createFunctionCompletion('shotdownServer', range),
this.createFunctionCompletion('stats', range),
this.createFunctionCompletion('version', range)
);
}