1. Practical MongoDB Aggregations
  2. Credits
  3. Foreword
  4. Who This Book Is For
  5. 1. Introduction
    1. 1.1. Introducing MongoDB Aggregations
    2. 1.2. History of MongoDB Aggregations
    3. 1.3. Getting Started
    4. 1.4. Getting Help
  6. 2. Guiding Tips & Principles
    1. 2.1. Embrace Composability For Increased Productivity
    2. 2.2. Better Alternatives To A Project Stage
    3. 2.3. Using Explain Plans
    4. 2.4. Pipeline Performance Considerations
    5. 2.5. Expressions Explained
    6. 2.6. Sharding Considerations
    7. 2.7. Advanced Use Of Expressions For Array Processing
  7. 3. Aggregations By Example
    1. 3.1. Foundational Examples
      1. 3.1.1. Filtered Top Subset
      2. 3.1.2. Group & Total
      3. 3.1.3. Unpack Arrays & Group Differently
      4. 3.1.4. Distinct List Of Values
    2. 3.2. Joining Data Examples
      1. 3.2.1. One-to-One Join
      2. 3.2.2. Multi-Field Join & One-to-Many
    3. 3.3. Data Types Conversion Examples
      1. 3.3.1. Strongly-Typed Conversion
      2. 3.3.2. Convert Incomplete Date Strings
    4. 3.4. Trend Analysis Examples
      1. 3.4.1. Faceted Classification
      2. 3.4.2. Largest Graph Network
      3. 3.4.3. Incremental Analytics
    5. 3.5. Securing Data Examples
      1. 3.5.1. Restricted View
      2. 3.5.2. Mask Sensitive Fields
    6. 3.6. Time-Series Examples
      1. 3.6.1. IoT Power Consumption
    7. 3.7. Array Manipulation Examples
      1. 3.7.1. Summarising Arrays For First, Last, Min, Max & Average
      2. 3.7.2. Pivot Array Items By A Key
      3. 3.7.3. Array Sorting & Percentiles
  8. 4. Appendices
    1. 4.1. Appendix: Stages Cheatsheet
    2. 4.2. Appendix: Stages Cheatsheet Source
    3. 4.3. Appendix: Book Version History

Practical MongoDB Aggregations Book

Practical MongoDB Aggregations book front cover