Docs Home
MongoDB Manual
Select a version
Introduction
Installation
The
mongo
Shell
MongoDB CRUD Operations
Aggregation
Indexes
Atlas Search
Atlas Vector Search
Change Streams
Transactions
Data Models
Replication
Sharding
Storage
Administration
Security
Frequently Asked Questions
Reference
Operators
Database Commands
mongo
Shell Methods
Collection Methods
Cursor Methods
Database Methods
Query Plan Cache Methods
Bulk Operation Methods
User Management Methods
Role Management Methods
Replication Methods
Sharding Methods
Object Constructors and Methods
Connection Methods
Native Methods
cat()
cd()
copyDbpath()
getHostName()
getMemInfo()
hostname()
isInteractive()
listFiles()
load()
ls()
md5sumFile()
mkdir()
pwd()
quit()
removeFile()
resetDbpath()
sleep()
setVerboseShell()
version()
_isWindows()
_rand()
Client-Side Field Level Encryption Methods
MongoDB Package Components
Configuration File Options
MongoDB Server Parameters
MongoDB Limits and Thresholds
Explain Results
System Collections
Connection Strings
Collation
MongoDB Wire Protocol
Log Messages
Error Codes
Exit Codes and Statuses
Glossary
Default MongoDB Port
Default MongoDB Read Concerns/Write Concerns
Server Sessions
Release Notes
Technical Support
Docs Menu
Ask MongoDB AI
Rate This Page
Docs Home
/
MongoDB Manual
/
Reference
/
mongo Shell Methods
/
Native Methods
resetDbpath()
This version of the documentation is archived and no longer supported. View the
current documentation
to learn how to
upgrade your version of MongoDB
.
resetDbpath()
For internal use.
Back
removeFile()
Next
sleep()