Home > git-documentdb > GitDocumentDB > getCollections
GitDocumentDB.getCollections() method#
Get collections
Signature:Parameters#
| Parameter | Type | Description |
|---|---|---|
| dirPath | string | Get collections directly under the dirPath. dirPath is a relative path from localDir. Default is ''. |
Promise<ICollection []>
Promise < Collection[] >