New MongoDB Aggregations book available electronically for free

I’m pleased to announce the publication of my new book, “Practical MongoDB Aggregations”

The book is available electronically for free for anyone to use at: https://www.practical-mongodb-aggregations.com/

More information is here: https://www.mongodb.com/article/practical-mongodb-aggregations-book/

I hope this helps some of the community here who are working with Aggregations!

Paul

4 Likes

Thank you, Paul, for writing the book and making it available for free to everyone. Appreciate it.

Aggregation pipeline is one of my favorite features, and there are times I have used it in place of jq and JMESPath because of the power and the flexibility it offers.

Mahi

1 Like

Thank you for the book, it’s been a helpful read so far. I was wondering if there are any db scaffolding scripts that go along with it. I see there are commands like use book-group-and-total; but I don’t know where those collections are defined. Any help would be appreciated.

Thanks for the book. Though I downloaded a PDF copy of the book a while back, I didn’t start reading it until yesterday. I am fairly new to MongoDB database programming, and I had found Aggregation Framework is a key tool for the database developer.

Though I had come across some of the features in the book (in the last couple of years I had been programming little bit), I found some interesting and useful information in the book. The introduction and background information is interesting and various features discussed are useful. The book makes a handy reference for me.

1 Like

Hi dmarr

The book is not aimed at absolute MongoDB beginners but that’s fine.

Have a look here with getting started with MongoDB and the Shell: https://docs.mongodb.com/manual/tutorial/getting-started/

This includes talking about switching databases (the “use” "scaffolding you refer to).

More help on getting started with MongoDB and Aggs is here: Getting Started - Practical MongoDB Aggregations Book

HTH

Paul

1 Like

Thanks @Paul_Done. I should have tried the example before assuming there was some scaffolding required. Simply running the use command without an existing database was enough to get it working.

1 Like

Ah yep that can be confusing when coming from relational. MongoDB has a flexible schema which means a database or collection does not have to be pre-defined or exist before you start using it. :smiley:

Paul

1 Like