- Reference >
- JavaScript Methods
JavaScript MethodsΒΆ
- Date()
- Mongo()
- Mongo.getDB()
- ObjectId.getTimestamp()
- ObjectId.toString()
- ObjectId.valueOf()
- cat()
- cd()
- connect()
- copyDbpath()
- cursor.addOption()
- cursor.batchSize()
- cursor.count()
- cursor.explain()
- cursor.forEach()
- cursor.hasNext()
- cursor.hint()
- cursor.limit()
- cursor.map()
- cursor.max()
- cursor.min()
- cursor.next()
- cursor.objsLeftInBatch()
- cursor.readPref()
- cursor.showDiskLoc()
- cursor.size()
- cursor.skip()
- cursor.snapshot()
- cursor.sort()
- cursor.toArray()
- db.addUser()
- db.auth()
- db.cloneCollection()
- db.cloneDatabase()
- db.collection.aggregate()
- db.collection.copyTo()
- db.collection.count()
- db.collection.createIndex()
- db.collection.dataSize()
- db.collection.distinct()
- db.collection.drop()
- db.collection.dropIndex()
- db.collection.dropIndexes()
- db.collection.ensureIndex()
- db.collection.find()
- db.collection.findAndModify()
- db.collection.findOne()
- db.collection.getIndexes()
- db.collection.getShardDistribution()
- db.collection.getShardVersion()
- db.collection.group()
- db.collection.insert()
- db.collection.isCapped()
- db.collection.mapReduce()
- db.collection.reIndex()
- db.collection.remove()
- db.collection.renameCollection()
- db.collection.save()
- db.collection.stats()
- db.collection.storageSize()
- db.collection.totalIndexSize()
- db.collection.totalSize()
- db.collection.update()
- db.collection.validate()
- db.commandHelp()
- db.copyDatabase()
- db.createCollection()
- db.currentOp()
- db.dropDatabase()
- db.eval()
- db.fsyncLock()
- db.fsyncUnlock()
- db.getCollection()
- db.getCollectionNames()
- db.getLastError()
- db.getLastErrorObj()
- db.getMongo()
- db.getName()
- db.getPrevError()
- db.getProfilingLevel()
- db.getProfilingStatus()
- db.getReplicationInfo()
- db.getSiblingDB()
- db.help()
- db.isMaster()
- db.killOp()
- db.listCommands()
- db.loadServerScripts()
- db.logout()
- db.printCollectionStats()
- db.printReplicationInfo()
- db.printShardingStatus()
- db.printSlaveReplicationInfo()
- db.removeUser()
- db.repairDatabase()
- db.resetError()
- db.runCommand()
- db.serverBuildInfo()
- db.serverStatus()
- db.setProfilingLevel()
- db.shutdownServer()
- db.stats()
- db.version()
- fuzzFile()
- getHostName()
- getMemInfo
- hostname()
- _isWindows()
- listFiles()
- load()
- ls()
- md5sumFile()
- mkdir()
- pwd()
- quit()
- rand()
- removeFile()
- resetDbpath()
- rs.add()
- rs.addArb()
- rs.conf()
- rs.freeze()
- rs.help()
- rs.initiate()
- rs.reconfig()
- rs.remove()
- rs.status()
- rs.stepDown()
- rs.syncFrom()
- sh.addShard()
- sh.addShardTag()
- sh.addTagRange()
- sh.disableBalancing()
- sh.enableBalancing()
- sh.enableSharding()
- sh.getBalancerHost()
- sh.getBalancerState()
- sh.help()
- sh.isBalancerRunning()
- sh.moveChunk()
- sh.removeShardTag()
- sh.setBalancerState()
- sh.shardCollection()
- sh.splitAt()
- sh.splitFind()
- sh.startBalancer()
- sh.status()
- sh.stopBalancer()
- sh.waitForBalancer()
- sh.waitForBalancerOff()
- sh.waitForPingChange()
- _srand()
- version()