MongoDB recipes : with data modeling and query building strategies /
Get the most out of MongoDB using a problem-solution approach. This book starts with recipes on the MongoDB query language, including how to query various data structures stored within documents. These self-contained code examples allow you to solve your MongoDB problems without fuss. MongoDB Recipe...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Otros Autores: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Berkeley, CA :
Apress L.P.,
©2020.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Intro
- Table of Contents
- About the Authors
- About the Technical Reviewer
- Acknowledgments
- Introduction
- Chapter 1: MongoDB Features and Installation
- The Need for NoSQL Databases
- What Are NoSQL Databases?
- CAP Theorem
- BASE Approach
- Types of NoSQL Databases
- MongoDB Features
- Document Database
- MongoDB Is Schemaless
- MongoDB Uses BSON
- Rich Query Language
- Aggregation Framework
- Indexing
- GridFS
- Replication
- Sharding
- The mongo Shell
- Terms Used in MongoDB
- Data Types in MongoDB
- MongoDB Installation
- Recipe 1-1. Install MongoDB on Windows
- Problem
- Solution
- How It Works
- Step 1: Install the msi Installer
- Step 2: Create a Data Directory
- Step 3: Start the MongoDB Server
- Step 4: Start the MongoDB Client
- Recipe 1-2. Install MongoDB on Ubuntu
- Problem
- Solution
- How It Works
- Step 1: Extract the tarball
- Step 2: Create a Data Directory
- Step 3: Start the MongoDB Server
- Step 4: Start the MongoDB Client
- Recipe 1-3. Install MongoDB Compass on Windows
- Problem
- Solution
- How It Works
- Step 1: Install the MongoDB Compass msi Installer
- Step 2: Start the MongoDB Server
- Step 3: Connect MongoDB Compass with MongoDB Server
- Working with Database Commands
- Recipe 1-4. Create Database
- Problem
- Solution
- How It Works
- Step 1: Create a database
- Recipe 1-5. Drop Database
- Problem
- Solution
- How It Works
- Step 1: Drop a Database
- Recipe 1-6. Display List of Databases
- Problem
- Solution
- How It Works
- Step 1: Display a List of Databases
- Recipe 1-7. Display the Version of MongoDB
- Problem
- Solution
- How It Works
- Step 1: Display the Version of MongoDB
- Recipe 1-8. Display a List of Commands
- Problem
- Solution
- How It Works
- Step 1: Display a List of Commands
- Chapter 2: MongoDB CRUD Operations
- Collections
- Recipe 2-1. Create a Collection
- Problem
- Solution
- How It Works
- Step 1: Create a Collection
- Recipe 2-2. Create Capped Collections
- Problem
- Solution
- How It Works
- Step 1: Create a Capped Collection
- Step 2: Query a Capped Collection
- Step 3: Insert a Document into a Full Capped Collection
- Create Operations
- Recipe 2-3. Insert Documents
- Problem
- Solution
- How It Works
- Step 1: Insert a Single Document
- Step 2: Insert Multiple Documents
- Read Operations
- Recipe 2-4. Query Documents
- Problem
- Solution
- How It Works
- Step 1: Select All Documents in a collection
- Step 2: Specify Equality Conditions
- Step 3: Specify Conditions Using Query Operator
- Step 4: Specify AND Conditions
- Step 5: Specify OR Conditions
- Update Operations
- Recipe 2-5. Update Documents
- Problem
- Solution
- How It Works
- Step 1: Update a Single Document
- Step 2: Update Multiple Documents
- Step 3: Replace a Document
- Delete Operations
- Recipe 2-6. Delete Documents
- Problem
- Solution