Getting started with MongoDB

MongoDB is a document-oriented NoSQL database. As we will see, the whole system revolves around this document management, including the query language, which makes it its strong point. We are going to tackle now the setting up of a Mongo server and how to integrate your data in this environment.

Table of contents

  • Getting started with MongoDB
  • Running a JavaScript file in MongoDB
  • Make the output of find readable in shell
  • Basic commands on the mongo shell
  • Create a 2dsphere index
  • Aggregation
  • Operations with tables.
  • Delete documents that have a duplicate field in a collection
  • MongoDB aggregation
  • Examples of aggregated queries that are useful for work and learning
  • Java and Spring example
  • Get sample data
  • Left outer join with aggregation (search $)
  • Configuration
  • Start mongo with a specific configuration file
  • MongoDB Management
  • List of running queries
  • The basics of index creation
  • Deleting / deleting an index
  • Get clues from a collection
  • Sparse indexes and partial indexes
  • Authentication mechanisms in MongoDB
  • Authentication mechanisms
  • Update operators
  • $ Set operator to update the specified fields in documents
  • Chapter 11: Upgrading the MongoDB Version
  • Upgrade to 3.4 on Ubuntu 16.04 using apt
  • MongoDB authorization template
  • How to configure a ReplicaSet to support TLS / SSL?
  • Create the root certificate
  • Generate certificate requests and private keys
  • Sign your certificate requests
  • Concatte each node certificate with its key
  • Get information about the database
  • "Multi" setting when updating multiple documents
  • Update of embedded documents.
  • Bulk operations
  • Retrieve data from the collection with the condition
  • Python Driver
  • Request Document - Using AND, OR, and IN Conditions
  • Find () method with Projection
  • mongoimport with CSV
  • Backup and restore data
  • Upserts and inserts
Size1229.071 Kb
File typepdf
Downloads327
Created2019-04-27
Cover of Getting started with MongoDB
Preview PDF

Download

  • The Coder's Apprentice: Learning Programming with Python 3

    This book is aimed at teaching Python 3 to students and teenagers who are completely new to programming. Contrary to many of the other books that teach Python programming, this book assumes no previous knowledge of programming on the part of the students, and contains numerous exercises that allow s...

  • Practical C++ programming

    This tutorial is devoted to practical C++ programming. It teaches you the mechanics of the language, free training document under 549 designated to all level users....

  • Introduction to JPA

    Download free Introduction to JPA for Beginners, course tutorial, a PDF file created by Bruce Campbell....

  • Programming Persistent Memory

    Download free course Programming Persistent Memory, pdf file on 438 pages by Steve Scargall....

  • C# Features Succinctly

    Download free course C# Features Succinctly, pdf file on 77 pages by Dirk Strauss....

  • Objective-C tutorial for professionals

    Download free Objective-C tutorial course in PDF, training file in 51 chapters and 129 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

  • Kotlin Programming Language

    This PDF tutorial is intended to beginners to help them understand the basics of Kotlin programming language. Download Free training document under 52 pages....

  • Csharp Programming Tutorial

    Download this C# PDF Tutorial for free, it's consisting of 5 chapters covering all the most important C# concepts. This tutorial is intended for beginner programmers, and we recommend you to go through all the chapters, to get the most out of it as possible....

  • DotNet for professionnals

    Download free DotNet tutorial course in PDF, training file in 58 chapters and 192 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

  • C++ Pointers and Memory

    This document explains how pointers and memory work and how to use them—from the basic concepts through all the major programming techniques. For each topic there is a combination of discussion, sample C code, and drawings....