GetCollectionStatisticsOperation is used to return total count of documents, conflicts and document count in each collection.
{CODE stats_1@ClientApi\Operations\CollectionStats.cs /}
{CODE stats_2@ClientApi\Operations\CollectionStats.cs /}
Return Value | ||
---|---|---|
CountOfDocuments | int | Total documents count |
CountOfConflicts | int | Total conflicts count |
Collections | Dictionary<string, long> | Dictionary which maps collection name to document count |
{CODE stats_3@ClientApi\Operations\CollectionStats.cs /}