Home > git-documentdb > Collection > getCollections
Collection.getCollections() method#
Get collections directly under the specified dirPath.
Signature:Parameters#
| Parameter | Type | Description |
|---|---|---|
| dirPath | string | dirPath is a relative path from collectionPath. Default is ''. |
Promise<ICollection []>
Array of Collections which does not include ''.