<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [git-documentdb](./git-documentdb.md) &gt; [Validator](./git-documentdb.validator.md) &gt; [maxCollectionPathLength](./git-documentdb.validator.maxcollectionpathlength.md)

## Validator.maxCollectionPathLength() method

Return max length of collectionPath

<b>Signature:</b>

```typescript
maxCollectionPathLength(): number;
```
<b>Returns:</b>

number

