cd()

On this page本页内容

Note注意

The native method listed here is for the legacy mongo shell.

To use native methods in mongosh, see Native Methods in mongosh.

Definition定义

cd(path)
Parameter参数Type类型Description描述
pathstringA path on the file system local to the mongo shell context.

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

←  cat()copyDbpath() →