Database: List collections in a MongoDB database

List all collections in the MongoDB database.

Help Centre › Building Processes

List all collections in the MongoDB database.

Add it to a process

In the process designer, open the Add step tab. Find List collections in a MongoDB database under Database, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
VariableNoName of the variable where the result will be stored Default: collections.

What it gives back

  • {collections} – List of collection names

See all Database steps.

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.