Skip to main content

Home > git-documentdb > Validator > normalizeCollectionPath

Validator.normalizeCollectionPath() method#

Normalized collectionPath is '' or path strings that have a trailing slash and no heading slash. Root ('/') is not allowed. Backslash \ or yen ¥ is replaced with slash /.

Signature:
static normalizeCollectionPath(collectionPath: CollectionPath | undefined): CollectionPath;

Parameters#

ParameterTypeDescription
collectionPathCollectionPath | undefined
Returns:

CollectionPath