Chapter 3. Programming Language Drivers

In this chapter, we will cover the following recipes:

  • Executing query and insert operations with PyMongo
  • Executing update and delete operations using PyMongo
  • Implementing aggregation in Mongo using PyMongo
  • Executing MapReduce in Mongo using PyMongo
  • Executing query and insert operations using a Java client
  • Executing update and delete operations using a Java client
  • Implementing aggregation in Mongo using a Java client
  • Executing MapReduce in Mongo using a Java client

Introduction

So far, we have executed the majority of operations in the shell using Mongo. The Mongo shell is a great tool for administrators to perform administrative tasks and for developers who would like to quickly test things by querying the data before ...

Get MongoDB Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.