Naming convention for collection
In order to name a collection few precautions to be taken :
- A collection with empty string (“”) is not a valid collection name.
- A collection name should not contain the null character because this defines the end of collection name.
- Collection name should not start with the prefix “system.” as this is reserved for internal collections.
- It would be good to not contain the character “$” in the collection name as various driver available for database do not support “$” in collection name.
Things to keep in mind while creating a database name are :
- A database with empty string (“”) is not a valid database name.
- Database name cannot be more than 64 bytes.
- Database name are case-sensitive, even on non-case-sensitive file systems. Thus it is good to keep name in lower case.
- A database name cannot contain any of these characters “/, , ., “, *, <, >, :, |, ?, $,”. It also cannot contain a single space or null character.
For more information. Please check the below link : http://www.tutorial-points.com/2016/03/schema-design-and-naming-conventions-in.html