sh._checkFullName()

sh._checkFullName(namespace)
参数:
  • namespace (string) – Specify a complete namespace.
Throws :

“name needs to be fully qualified <db>.<collection>”

The sh._checkFullName() method verifies that a namespace name is well-formed. If the name has a period . then the sh._checkFullName() method exits, otherwise it throws an error.

MongoDB Manual (Index)

关于

生态系统

格式

资源