0
Q:

condition after $group mongodb

db.books.aggregate([
   { $group : { _id : "$author", books: { $push: "$title" } } }
 ])
0

New to Communities?

Join the community