Skip to main content

πŸ‘ Empty aggregation pipeline

An empty aggregation​

This code is the equivalent to a SELECT * FROM AUTHORS. Returns a cursor with all documents in the authors collection:

Atlas UI showing an empty aggregation pipeline
  • Open the Aggregation tab.
  • Select Text.
  • Notice the empty array in the editor denoting an empty aggregation pipeline:
[]