OPTIONS

sh._checkFullName()

On this page

Definition

sh._checkFullName(namespace)

Verifies that a namespace name is well formed. If the namespace is well formed, the sh._checkFullName() method exits with no message.

Throws:If the namespace is not well formed, sh._checkFullName() throws: “name needs to be fully qualified <db>.<collection>”

The sh._checkFullName() method has the following parameter:

Parameter Type Description
namespace string The namespace of a collection. The namespace is the combination of the database name and the collection name. Enclose the namespace in quotation marks.