- Reference >
- mongo Shell Methods >
- Sharding Methods >
- sh._checkFullName()
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.
Thank you for your feedback!
We're sorry! You can Report a Problem to help us improve this page.