mongodb agrate { $limit: 1 } code example Example: limit aggregation mongodb { $limit: <positive integer> }