Updated on 2022-06-30 GMT+08:00

Naming Rules

  • It is recommended that the name of a database object (database, table, field, or index) starts with a lowercase letter followed by letters and digits. The length of the name cannot exceed 32 bytes.
  • The database name cannot contain special characters ("".\$/*?~#:?|") and null character (\0). The database name cannot be the system database name, such as admin, local, and config.
  • The database collection name can only contain letters and underscores (_). The name cannot be prefixed with "system". The total length of <Database name>.<Collection name>. cannot exceed 120 characters.