更新时间:2021-08-13 15:25:33
封面
Title Page
Copyright and Credits
MongoDB 4 Quick Start Guide
Dedication
Packt Upsell
Why subscribe?
Packt.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Introducing MongoDB
Overview of MongoDB
Handling big data
Modeling objects without SQL
Installing MongoDB
Installing MongoDB on Windows
Download and install
MongoDB Compass
MongoDB Windows file locations
Installing MongoDB on Linux
Installing on Debian or Ubuntu Linux
Package installation
Configure and run MongoDB on Ubuntu/Debian
Installing on Red Hat Fedora or CentOS Linux
Configure and run MongoDB on RHEL/Fedora/CentOS
Installing from source
Summary
Understanding MongoDB Data Structures
What is NoSQL?
Documents collections and database
Data-modeling considerations
References
Embedded documents
Document design
Creating a MongoDB database and collection
Using the MongoDB Shell
Overview
Why use the mongo shell?
Options when invoking the shell
.mongorc.js File
Informational commands
Performing simple queries
Defining a query filter
Defining a projection
Modifying the cursor
Database and collection operations
Working with databases
Working with collections
Creating updating or deleting documents
Creating one or more documents
Updating one or more documents
Deleting one or more documents
Creating and running shell scripts
Running a direct command
Running a shell script
Developing with Program Language Drivers
Overview of the MongoDB PHP driver
MongoDB PHP architecture
MongoDB PHP extension classes
MongoDB\Driver classes
MongoDB\BSON classes
MongoDB\Driver\ {Exception Monitoring} classes
Installing the MongoDB PHP extension
ext/mongodb installation using PECL
ext/mongodb installation on Windows
Installing the PHP library for MongoDB (PHPLIB)
Performing CRUD operations using PHPLIB
Core PHPLIB class instances needed for CRUD operations
Creating documents
Reading documents
Searching by ObjectId
Updating documents
Deleting documents
Other libraries and framework integration
Building Complex Queries Using Aggregation
An overview of aggregation
What is aggregation?
Why use aggregation?
Using single-purpose aggregation
Using the aggregation pipeline
Aggregation pipeline stages
$bucket
$group
$lookup
$match