Skip to main content

Home > git-documentdb > CollectionPath

CollectionPath type#

CollectionPath

Signature:
export declare type CollectionPath = string;

Remarks#

CollectionPath must be paths that match the following conditions:

  • CollectionPath can include paths separated by slashes.

  • A directory name in paths allows Unicode characters except for OS reserved filenames and the following characters: < > : " | ? * Â¥0.

  • CollectionPath is better to be ASCII characters and case-insensitive names for cross-platform.

  • A directory name in paths cannot end with a period or a white space.

  • A directory name in paths does not allow '.' and '..'.

  • CollectionPath cannot start with a slash.

  • Trailing slash could be omitted. e.g.) 'pages' and 'pages/' show the same CollectionPath.