I've faced recently with some not trivial mongo aggregation queries and found there are not so many examples available, so main source is official docs