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

[Home](./index.md) &gt; [git-documentdb](./git-documentdb.md) &gt; [AllDocsResult](./git-documentdb.alldocsresult.md)

## AllDocsResult type

Result of allDocs()

<b>Signature:</b>

```typescript
export declare type AllDocsResult = {
    total_rows: number;
    commit_sha?: string;
    rows?: JsonDocWithMetadata[];
};
```
<b>References:</b> [JsonDocWithMetadata](./git-documentdb.jsondocwithmetadata.md)

## Remarks

- total\_rows: number of documents

- commit\_sha: SHA-1 hash of the last Git commit (40 characters). 'commit\_sha' is undefined if total\_rows equals 0.

- rows: Array of documents. 'rows' is undefined if total\_rows equals 0.

