Get Collection Stats
  • 30 Jan 2025
  • 1 Minute to read
  • Dark
    Light

Get Collection Stats

  • Dark
    Light

Article summary

Step Details
Introduced in Version9.6
Last Modified in Version9.6
LocationIntegration > MongoDB > Advanced 

This Step retrieves a list of statistics/properties from a specified collection. 

Prerequisites 


Properties

Inputs

PropertyDescriptionData Type
Collection NameAllows Users to specify a Collection Name. String
Connection StringAllows Users to specify a Connection String. String
Database NameAllows Users to specify a Database Name. String

Outputs

PropertyDescriptionData Type
Collection StatsThis property returns the following collection statistics from the specified collection: Collection Namespace, Number of Documents, Average Document Size, Data Size, Storage Size, Number of Indexes, Index Size, and Average Index SizeN/A
Collection Stats Raw StringThis property returns a Raw String of Collection Stats. String


Related Information

MongoDB Module Overview


Was this article helpful?