cd()

Definition

  • cd(path)

ParameterTypeDescriptionpathstringA path on the file system local to the mongo shell context.

cd() changes the directory context of themongo shell and has no effect on the MongoDB server.