MongoDB Documentation
Commands
Guides
Methods
Operators
Options
Sections
- "Big" Polygons
- "Big" Polygons
- "snapshot"
- $bucket and Memory Restrictions
- $bucketAuto and Memory Restrictions
- $collStats (aggregation)
- $currentOp (aggregation)
- $each Modifier
- $geoNear with Bound let Option
- $geoNear with the let option
- $group Behavior
- $group Optimization
- $group Performance Optimizations
- $group and Memory Restrictions
- $isArray (aggregation)
- $limit + $limit Coalescence
- $lookup Optimization
- $lookup and $graphLookup Behavior
- $lookup and $graphLookup Behavior
- $lookup, $unwind, and $match Coalescence
- $match + $match Coalescence
- $maxN (array operator)
- $median (aggregation)
- $merge (aggregation)
- $merge and $out Comparison
- $minN (array operator)
- $or Clauses and Indexes
- $or Expression
- $or and text Queries
- $out (aggregation)
- $percentile (aggregation)
- $project/$unset + $skip Sequence Optimization
- $range (aggregation)
- $regex vs. /pattern/ Syntax
- $replaceAll and Collation
- $replaceAll and Null Values
- $replaceAll and Unicode Normalization
- $replaceOne and Collation
- $replaceOne and Null Values
- $replaceOne and Unicode Normalization
- $replaceRoot with a newly created document
- $replaceRoot with an Embedded Document Field
- $replaceWith a Newly Created Document
- $replaceWith an Embedded Document Field
- $skip + $skip Coalescence
- $sort + $limit Coalescence
- $sort + $limit Memory Optimization
- $sort + $match Sequence Optimization
- $sort + $skip + $limit Sequence
- $sort Operator and Memory
- $sort and $group Stages
- $sort and Memory Restrictions
- $sortByCount and Memory Restrictions
- $text with Additional Query and Sort Expressions
- ($project or $unset or $addFields or $set) + $match Sequence Optimization
- /proc File System
- 1. Hide and Restart One Secondary.
- 2d
- 2dsphere
- 3. Build the Index.
- 4. Restart the Program mongod as a Replica Set Member.
- A Config Server Replica Set Member Become Unavailable
- ARM64
- About this Task
- Access Control
- Access Control
- Access Control
- Access Control
- Access Control
- Access Control
- Access Control
- Access Control
- Access Control
- Accumulator Operator
- Accumulators ($group, $bucket, $bucketAuto, $setWindowFields)
- Accuracy after Unexpected Shutdown
- Accuracy after Unexpected Shutdown
- Acknowledgment Behavior
- Acquiring Locks
- Active Fault Duration
- Active Indexing Operations
- Active Indexing Operations
- Active mongos Instances
- Add Element to an Array
- Add Element to an Array
- Add Members to the Replica Set
- Add Shards to the Cluster
- Add a Member to an Existing Replica Set
- Add a Priority 0 Member to a Replica Set
- Add a Secondary to a New Replica Set
- Add a Secondary to an Existing Replica Set
- Add an Arbiter to a Replica Set
- Additional Aggregation Pipeline Stage Details
- Additional Examples
- Additional Examples
- Additional Methods
- Additional Methods
- Additional Methods for Inserts
- Administration Commands
- Administration Operations
- Aggregation Alternative to $currentDate
- Aggregation Expressions and Operators
- Aggregation Operators
- Aggregation Pipeline
- Aggregation Pipelines
- Aggregation Reference
- Aggregation Stages
- Algorithm Choice
- All-Database Roles
- Allocate Sufficient RAM and CPU
- Amazon Web Services KMS
- Append a Value to Arrays in Multiple Documents
- Application Behavior
- Application Level Encryption
- Arbiter
- Architecture
- Arithmetic Expression Operators
- Array
- Array Expression Operators
- Array Field Limitations
- Array Fields
- Array Fields
- Array Indexes are Unsupported
- Array Operand
- Array Update Operations with arrayFilters
- Array Update Operations with arrayFilters
- Array of Nested Arrays
- Array of Nested Fields
- Arrays
- Arrays in Collections and Views
- Ascending/Descending Sort
- Ascending/Descending Sort
- Assign Service Principal Name to MongoDB Windows Service
- Assumptions
- Asynchronous Range Migration Cleanup
- Asynchronous Replication
- Atlas Search Database Commands
- Atlas Search Index Actions
- Atlas Search Index Methods
- Atlas Search Index Statuses
- Atlas Search Index Statuses
- Atlas Search Support
- Atlas Search Support
- Atlas Stream Processing Methods
- Atomicity
- Audit Event Actions, Details, and Results
- Audit Events and Filter
- Audit Log
- Authentication Database
- Authentication Mechanisms
- Authentication Options
- Authentication Parameters
- Authentication Restrictions
- Authentication Restrictions
- Authentication Restrictions
- AutoEncryptionOpts
- Automatic Decryption
- Automatic Decryption
- Automatic Encryption Shared Library
- Automatic Encryption Shared Library
- Automatic Failover
- Automatically Sync a Member
- Autosplit
- Available Keywords
- Available Types
- Available mongosh Cursor Methods
- Avoid Replica Set Rollbacks
- Azure
- Azure Key Vault
- B. Determine the Distribution of the Collection
- BSON Data Types and Associated Representations
- BSON Types
- Back Up and Restore Using LVM on Linux
- Back Up by Copying Underlying Data Files
- Back Up with mongodump
- Back up Instances with Journal Files on Separate Volume or without Journaling
- Backup and Restoration Roles
- Balance Ranges that Exceed Size Limit
- Balancer
- Balancer
- Balancer
- Balancer
- Balancer
- Balancer Internals
- Before You Begin
- Before You Begin
- Before You Get Started
- Before You Get Started
- Before you Begin
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behavior
- Behaviors
- Behaviors
- Binary Data
- Binary Subtypes
- Block Processing
- Block Revoked Certificates for Clients
- Bounds Intersection for a Multikey Index
- Broadcast Operations
- Build Failure and Recovery
- Built-In Roles
- Bulk Operation Methods
- Bulk Write Operation
- Bulk Write with Write Concern Example
- BulkWriteResult
- C. Build Indexes on the Shards That Contain Collection Chunks
- C1. Stop One Secondary and Restart as a Standalone
- C2. Build the Index
- C3. Restart the Program mongod as a Replica Set Member
- CRUD Operations
- CSFLE Cryptographic Primitives
- CSFLE Encryption Components
- CSFLE Encryption Schemas
- CSFLE Limitations
- CSFLE Server-Side Schema Enforcement
- Cache Refresh Times
- Calculate Count, Sum, and Average
- Calculating Majority for Write Concern
- Calculation Considerations
- Callback API
- Can I select a different shard key after sharding a collection?
- Capped Collection
- Capped Collections
- Capped Collections
- Case Insensitivity
- Case Insensitivity
- Case Sensitivity
- Case Sensitivity and Stemmed Words
- Case-Insensitive Indexes on Collections with a Default Collation
- Causal Consistency
- Causal Consistency Guarantees
- Change All Hostnames at the Same Time
- Change Default Policy to DROP
- Change Events
- Change Expiration Value for Indexes
- Change Hostnames while Maintaining Replica Set Availability
- Change Streams
- Change Streams with Document Pre- and Post-Images
- Change Streams with Document Pre- and Post-Images
- Change Streams with Document Pre- and Post-Images
- Change WiredTiger Journal Compressor
- Change the Maximum Oplog Size
- Change the Maximum Storage Size for a Given Shard
- Change the expireAfterSeconds value for a TTL Index
- Character Escaping
- Check Balancing Window
- Check Indexes
- Check Kernel Version
- Check Profiling Level
- Check Replica Set Status
- Check if Balancer is Running
- Check the Replication Lag
- Check the Size of the Oplog
- Checksum
- Client Certificate Requirements
- Client Data
- Client Mode
- Client Sessions and Causal Consistency Guarantees
- Client X.509 Certificates
- Client-Side Field Level Encryption
- Client-Side Field Level Encryption
- Client-Side Field Level Encryption Compatibility
- Client-Side Field Level Encryption Driver Compatibility
- Clock Synchronization
- Closure
- Cluster Administration Roles
- Cluster Parameters for a Self-Managed Deployment
- Cluster Resource
- Cluster-to-Cluster Sync and User Write Blocking
- Clusters Currently Not Using TLS/SSL (Using ssl Options)
- Clusters Currently Using TLS/SSL (Using ssl Options)
- Collation
- Collation Default Parameters
- Collation Document
- Collation Option
- Collation Option
- Collation Option
- Collation and Index Use
- Collation and Index Use
- Collation and Unsupported Index Types
- Collation and Views
- Collect Rollback Data
- Collection Contains Large Number of Small Documents
- Collection Methods
- Collection Scan
- Collection Type
- Collections
- Command Fields
- Commit Phase
- Commit Phase
- Commit Quorum Contrasted with Write Concern
- Compare Two Fields from a Single Document
- Comparison
- Comparison Expression Operators
- Comparison Query Operators
- Comparison of Features
- Comparison with $merge
- Comparison with On-Demand Materialized Views
- Comparison with Standard Views
- Comparison/Sort Order
- Comparisons with the update Method
- Comparisons with the update Method
- Compatibility
- Compatibility
- Compatible Authentication Mechanism
- Complete Aggregation Pipeline Examples
- Components
- Compound Bounds for a Multikey Index
- Compound Bounds of Multiple Fields from the Same Array
- Compound Hashed Shard Key with Hashed Prefix
- Compound Hashed Shard Key with Non-Prefix Hashed Field
- Compound Multikey Indexes
- Compound Text Index
- Compression
- Compression Best Practices
- Computing n Based on the Group Key for $group
- Computing n Based on the Group Key for $group
- Concerns with Multiple Arbiters
- Concurrency
- Concurrent Updates While Using a Cursor
- Conditional Expression Operators
- Conditionally Exclude Fields
- Config Database
- Config Database String Error
- Config Server Availability
- Config Shards
- Configuration File
- Configuration Procedure
- Configure Default Range Size
- Configure Encrypted Fields for Optimal Search and Storage
- Configure Log Verbosity Levels
- Configure MongoDB
- Configure MongoDB
- Configure Read Preference
- Configure SELinux
- Configure SELinux
- Configure SELinux
- Configure SELinux
- Configure Shard Tags
- Configure Sharded Cluster Admin User and Client Users
- Configure Snapshot Retention
- Configure the Database
- Configuring Log Message Destinations
- Confirm No Orphaned Documents Remain
- Confirm use of Config Shard
- Connect to MongoDB Instances Using Encryption
- Connect to MongoDB Instances that Require Client Certificates
- Connect to a Cluster with Automatic Client-Side Encryption Enabled
- Connect to a Cluster with Client-Side Encryption Enabled
- Connection Acquisition To Wire Log Message
- Connection Pool
- Connection Pool Configuration Settings
- Connection Pool Options
- Connection String Examples
- Connection String Options
- Connection Strings
- Consider Fault Tolerance
- Considerations
- Considerations
- Considerations
- Considerations When Deploying a Replica Set
- Consistency
- Constraint Violations During Index Build
- Convert Secondary to Arbiter Running on a New Port Number
- Convert Secondary to Arbiter and Reuse the Port Number
- Convert a non-TTL single-field Index into a TTL Index
- Convert to BinData
- Convert to Boolean
- Convert to Date
- Convert to Decimal
- Convert to Double
- Convert to Integer
- Convert to Long
- Convert to ObjectId
- Convert to String
- Copy Database Files and Restart mongod Instance
- Core API
- Correlated Subqueries Using Concise Syntax
- Count Operation
- Count Operation
- Count the Number of Documents in a Collection
- Counter-Indications for Non-Primary Read Preference
- Covered Queries
- Covered Queries
- Covered Query
- Create Backups from Non-Local mongod Instances
- Create Collections and Indexes in a Transaction
- Create a Capped Collection with a Maximum Number of Documents
- Create a Capped Collection with a Maximum Size
- Create a Case-Insensitive Index
- Create a ClientEncryption Instance
- Create a ClientEncryption Instance
- Create a Collection with Change Stream Pre- and Post-Images for Documents
- Create a Collection with Change Stream Pre- and Post-Images for Documents
- Create a Compound Hashed Index
- Create a Compound Index
- Create a Compound Text Index
- Create a Materialized View in the MongoDB Atlas UI
- Create a New Collection if Output Collection is Non-Existent
- Create a Role to Drop system.views Collection across Databases
- Create a Role to Manage Current Operations
- Create a Role to Run mongostat
- Create a Single-Field Hashed Index
- Create a Single-Field Text Index
- Create a Snapshot
- Create a Strict Client
- Create a Time Series Collection
- Create a Union with Specified Documents
- Create a Unique Index
- Create a User-Defined Role
- Create a Wildcard Index
- Create a Wildcard Index
- Create a Wildcard Index
- Create a Wildcard Index on All Field Paths
- Create a Wildcard Index on All Field Paths
- Create a Wildcard Index on All Field Paths
- Create a Wildcard Index on Multiple Specific Field Paths
- Create a Wildcard Index on Multiple Specific Field Paths
- Create a Wildcard Index on a Single Field Path
- Create a Wildcard Index on a Single Field Path
- Create a Wildcard Index on a Single Field Path
- Create a Wildcard Index that Excludes Multiple Specific Field Paths
- Create an Index on a Multiple Fields
- Create an Index on an Embedded Field
- Create and Encrypt a Data Encryption Key
- Create and Store your Customer Master Key
- Create the Config Server Replica Set
- Create the Config Server Replica Set
- Create the Shard Replica Sets
- Cursor
- Cursor Batches
- Cursor Behaviors
- Cursor Methods
- Cursor Snapshot
- Custom Multi-Datacenter Write Concerns
- DBRefs
- DDL Operations
- Database Administration Roles
- Database Built-In Roles
- Database Commands
- Database Methods
- Database Profiler Output
- Database Profiling and Sharding
- Database References
- Database User Roles
- Database Users
- Database Users in MongoDB Atlas
- Database Users in Self-Managed Deployments
- Database and/or Collection Resource
- Databases
- Date
- Date Expression Operators
- Decreased Query Performance Over Time
- Default Behavior When chunkSize Is Not Specified
- Default Index
- Default MongoDB Port
- Default MongoDB Read Concerns/Write Concerns
- Default Write Concern
- Delete A Document
- Delete A Document Using WriteConcern
- Delete All Documents
- Delete Behavior
- Delete Methods
- Delete Multiple Documents
- Delete a Data Encryption Key
- Delete a Document with MongoDB Atlas
- Delete a Single Document
- Delete a Single Document
- Deletion Order
- Deletion Process
- Dense Rank for Duplicate, Null, and Missing Values
- Densifiction with Partitions
- Densify Time Series Data
- Deploy New Replica Set with Keyfile Access Control
- Deploy Sharded Cluster with Keyfile Access Control
- Deploy a Geographically Redundant Three-Member Replica Set
- Deployments
- Description
- Description
- Details
- Detection of Simultaneous Primaries
- Determine Range
- Determine which Query Engine was Used
- Deterministic Encryption
- Diacritic Insensitivity
- Diacritic Insensitivity
- Diacritic Sensitivity and Stemmed Words
- Diagnostic Parameters
- Disable Server-Side Execution of JavaScript
- Disable glibc rseq
- Disable the Balancer
- Disable the Balancer
- Disable the Balancer
- Disallow Protocols
- Distinct Operation
- Distinct Operation
- Distribute Members Geographically
- Divisible Chunks
- Do TCP Retransmission Timeouts affect MongoDB Deployments?
- Document Number for Duplicate, Null, and Missing Values
- Document Size
- Document Structure
- Documents Window Examples
- Does MongoDB handle caching?
- Does TCP keepalive time affect MongoDB Deployments?
- Does a MongoDB operation ever lock more than one database?
- Does a read or write operation ever yield the lock?
- Dot Notation
- Downgrade Feature Compatibility Version
- Download Your Logs
- Driver Support
- Duplicate Results
- Durability
- Dynamically Assign Keys at Runtime
- Embedded Data Models
- Embedded Document Pattern
- Embedded Document Pattern
- Embedded Documents
- Empty Collection
- Enable Per-CPU Caches
- Enable Runtime Audit Filter Management
- Enable Transparent Hugepages (THP)
- Enable and Configure Database Profiling
- Enable the Balancer
- Enable/Disable Support for Mirrored Reads
- Enabling Automatic Client-Side Field Level Encryption
- Encrypt Existing Data at Rest
- Encrypt Fields in Read and Write Operations
- Encrypt Fields in Read and Write Operations
- Encrypt Using a New Key
- Encrypt Using an Existing Key
- Encrypted Reads
- Encrypted Storage Engine
- Encrypted Writes
- Encryption Key Management Options
- Encryption Schema - Encrypt with Pattern Properties
- Encryption Schema - Multiple Fields
- Encryption Schema - Multiple Fields With Inheritance
- Encryption at Rest
- Encryption at Rest
- Enforce Keyfile Access Control on Existing Replica Set
- Enforce Keyfile Access Control on Existing Replica Set
- Enforce Keyfile Internal Authentication on Existing Sharded Cluster Deployment
- Ephemeral Diffie-Hellman (DHE)
- Ephemeral Elliptic Curve Diffie-Hellman (ECDHE)
- Equality
- Equality Filter
- Equality Match with a Single Join Condition
- Equals an Array Value
- Equivalent Indexes
- Equivalent Indexes Example
- Error Codes
- Error Handling
- Error Handling inside Transactions
- Escaping
- Event Fields
- Event Notification
- Exact Strings
- Example
- Example
- Example
- Example
- Example
- Example
- Example
- Example
- Example
- Example
- Example
- Example 1
- Example 2
- Example 2: Alternative to $where
- Example Active Directory Schema
- Example Active Directory Schema
- Example Profiler Data Queries
- Example: Compound Bounds of Non-array Field and Multiple Array Fields
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Exclude Fields Conditionally
- Exclude Specific Fields from a Wildcard Index
- Execution Plan Statistics for Query with $lookup Pipeline Stage
- Execution of Operations
- Exit Codes and Statuses for a Self-Managed Deployment
- Expanded Events
- Expansion Directives Reference
- Expire Documents in the MongoDB Atlas UI
- Expire Documents with Filter Conditions
- Explain Output Structure
- Explain Output for MongoDB 5.1 and Later
- Explain Results
- Explain find() with Modifiers
- Explicit Create Operations
- Explicit DDL Operations
- Expression Operators
- Extend Regex Options to Match Characters Outside of ASCII
- Extended JSON Object Conversions
- Extensions
- Externally Sourced Configuration File Values for Self-Managed Deployments
- Fault Tolerance
- Feature Compatibility Version (FCV)
- Features
- Field Names
- Field Paths
- Field Update Operators
- File Copy Based Initial Sync
- Fill Data for Distinct Partitions
- Fill Missing Field Values Based on the Last Observed Value
- Fill Missing Field Values with Linear Interpolation
- Fill Missing Field Values with a Constant Value
- Filter Configuration at Runtime
- Filter Configuration at System Startup
- Filter Fields with a wildcardProjection
- Filtering by Component
- Filtering by Date Range
- Filtering by Known Log ID
- Find Cache Entry Details for a Plan Cache Query Shape
- Find Cache Entry Details for a Query Hash
- Find Documents that Don't Match the Schema
- Find Inconsistent Indexes Across Shards
- Firewalls
- Flag Bits
- Flags
- Floating-Point Numbers
- Flow Control
- Force Collection Scans
- Force a Member to be Primary Using Database Commands
- Force a Member to be Primary by Setting its Priority High
- Format Specifiers
- Format Specifiers
- Forward Secrecy
- Forward Secrecy Performance
- Generate a Backtrace
- GeoJSON Objects
- GeoJSON Objects
- Geohash Values
- GeometryCollection
- Geospatial Aggregation Stage
- Geospatial Data
- Geospatial Indexes
- Geospatial Models
- Geospatial Query Operators
- Geospatial Query Operators
- Get FeatureCompatibilityVersion
- Get Started
- Glossary
- Google Cloud Platform KMS
- Granularity
- Granularity
- GridFS Collections
- GridFS Indexes
- Group Documents by author
- Group Objects
- Group Objects
- Group by null
- Hashed Shard Keys
- Hashed Sharding Shard Key
- Hashed vs Ranged Sharding
- Health Manager Facets
- Health Manager Intensity Levels
- Health Manager Parameters
- Heartbeats
- Hedged Reads
- Hidden Option
- Hidden Option
- Hidden Option
- Hide an Existing Index
- High Availability
- Historical Releases
- How Bucketing Works
- How CSFLE Decrypts Documents
- How can I get information on the storage use of a database?
- How do I define or alter the collection schema?
- How do I reclaim disk space in WiredTiger?
- How does an index build affect database performance?
- How does concurrency affect a replica set primary?
- How does random data impact index performance?
- Idempotent Updates
- Ignore White Spaces in Pattern
- Implicit Create Operations
- Implicit DDL Operations
- Implicit Default Write Concern
- Improve Performance with Indexes and Document Filters
- In a new sharded cluster, why does all data remain on one shard?
- In-progress Transactions and Stale Reads
- In-progress Transactions and Write Conflicts
- Inaccurate Counts Without Query Predicate
- Inaccurate Counts Without Query Predicate
- Inaccurate Counts Without Query Predicate
- Include Specific Fields in Wildcard Index Coverage
- Include Specific Fields in a Wildcard Index
- Inconsistency Types
- Incorporate Additional Authentication Mechanisms
- Incorporate Additional Authentication Mechanisms
- Increase Write Concern
- Index Build Process
- Index Builds
- Index Builds in Replicated Environments
- Index Considerations
- Index Consistency Checks for Sharded Collections
- Index Filters
- Index Names
- Index Prefixes
- Index Specification Documents
- Index Status Details
- Index Status Details
- Index Use
- Indexes
- Indexes
- Indexes Configured Using NaN
- Indivisible/Jumbo Chunks
- Informational Operations
- Inherited Privileges
- Initial Chunk Distribution
- Initial Chunk Distribution for Empty or Non-Existing Collections
- Initial Chunk Distribution for Empty or Non-Existing Collections
- Initial Chunk Distribution for Empty or Non-Existing Collections
- Initial Chunk Distribution with Compound Hashed Indexes
- Initial Chunk Distribution with Compound Hashed Shard Keys
- Initial Chunks
- Initial Sync
- Initial Sync Source Selection
- Insert Behavior
- Insert Data with the Bucket Pattern
- Insert Documents in the MongoDB Atlas UI
- Insert Multiple Documents
- Insert a New Document if No Match Exists (Upsert)
- Insert a Single Document
- Inserts Best Practices
- Install MongoDB Community Edition
- Install MongoDB Community Edition
- Install MongoDB Community Edition
- Install MongoDB Community Edition
- Install MongoDB Community Edition
- Install MongoDB Community Edition
- Install MongoDB Community Edition
- Install MongoDB Enterprise Edition
- Install MongoDB Enterprise Edition
- Install MongoDB Enterprise Edition
- Install MongoDB Enterprise Edition
- Install MongoDB Enterprise Edition
- Install MongoDB Enterprise Edition
- Install MongoDB Enterprise Edition
- Install MongoDB Enterprise Edition
- Install MongoDB Enterprise Edition
- Install and Configure a CSFLE Query Analysis Component
- Install as Standalone
- Install as Standalone
- Install libmongocrypt
- Install libmongocrypt for CSFLE
- Install with Server
- Install with Server
- Installing MongoDB 8.0 Community Edition
- Instance Information
- Interaction with Projection
- Interaction with allowDiskUseByDefault
- Internal Actions
- Intersects a "Big" Polygon
- Issue Commands
- Issue movePrimary During A Maintenance Window
- Iterate the Returned Cursor
- JSON Log Output Format
- Join Conditions and Subqueries on a Joined Collection
- Journal
- Journal Records
- Journaling Process
- Journaling and the In-Memory Storage Engine
- Journaling and the WiredTiger Storage Engine
- Jumbo Chunks
- KMIP
- KMIP Master Key Rotation
- KRB5_KTNAME
- Kerberos Authentication
- Kerberos Configuration Debugging Strategies
- Kernel and File Systems
- Key Management Configuration Options
- Key Rotation
- Key Vault Collections
- Keyfiles
- Kill Read Operations
- Kill Write Operations
- LDAP Authentication via the Operating System LDAP libraries
- LDAP Proxy Authentication
- Large Number of Collections
- Legacy Coordinate Pairs
- Limit Results
- Limitations
- Limitations of Keyword Indexes
- LineString
- Linux Keytab Files
- List All Indexes for a Database
- List All Indexes on a Collection
- List Databases
- List Shards
- List Specific Type of Indexes
- Load Balancing
- Local Key Management
- Local Key Provider
- Lock Information
- Locking Performance
- Log Message Examples
- Log Message Field Types
- Log Messages
- Log Redaction
- Log Redaction
- Logging Slow Operations
- Logical Initial Sync Process
- Lookup Full Document for Update Operations
- Major Releases
- Make all iptables Rules Persistent
- Manage Connection Pool Sizes
- Manual Decryption
- Manual References
- Manually Clear the jumbo Flag for an Indivisible Chunk
- Match a Regular Expression
- Match an Array
- Maximize Consistency
- Maximum Number of Documents Per Range to Migrate
- Member Certificate Requirements
- Member Priority
- Member X.509 Certificate
- Memory Diagnostics for the WiredTiger Storage Engine
- Memory Restrictions
- Memory Use
- Memory Use
- Merge Results from Multiple Collections
- Merge Two States with $merge
- Metadata Collection Compaction
- Metadata Collections
- Metadata Used for Decryption
- Methods
- Migrate Each Config Server Separately
- Migrate Undefined Data and Queries
- Migrate a Member of a Replica Set Shard
- Migrate a Replica Set Shard
- Migrate the Shards
- Migration Thresholds
- Minimum Oplog Retention Period
- Minimum Oplog Retention Period
- Mirrored Reads
- Mirrored Reads
- Miscellaneous Operators
- Missing Data
- Missing Document Field in a Unique Single-Field Index
- Missing Document Fields in a Unique Compound Index
- Missing Shard Key
- Missing Shard Key
- Missing Shard Key
- Missing Shard Key
- Missing Shard Key
- Missing Shard Key
- Missing Shard Key
- Missing Shard Key
- Missing Shard Key Fields
- Mixed Type
- Modifiers
- Modify Access for an Existing User
- Modify Change Stream Output
- Modify Default Write Concern
- Modify an Index
- Modify the Cursor Behavior
- MongoClient Options for CSFLE
- MongoClient Options for Queryable Encryption
- MongoDB Atlas Built-In Roles
- MongoDB Atlas Cluster that Authenticates with AWS IAM credentials
- MongoDB Atlas Service Account Limits
- MongoDB Cloud Manager
- MongoDB Community Edition Packages
- MongoDB Community Edition Packages
- MongoDB Community Edition Packages
- MongoDB Configuration Hardening
- MongoDB Enterprise Edition Packages
- MongoDB Enterprise Edition Packages
- MongoDB Extended JSON (v2)
- MongoDB Limits and Thresholds
- MongoDB Package Components
- MongoDB Roles for LDAP Authorization
- MongoDB Server Parameters for a Self-Managed Deployment
- MongoDB Shell
- MongoDB Tools
- MongoDB User and $external Database
- MongoDB Versioning
- MongoDB Wire Protocol
- MongoDB and NUMA Hardware
- MongoDB on Windows
- Monotonically Changing Shard Keys
- Moving Collections that have Change Streams
- Multi-Field Query Predicates
- Multi-Location Documents for 2d Indexes
- Multi-Update Failures
- MultiLineString
- MultiPoint
- MultiPolygon
- Multikey Covering
- Multiline Match for Lines Starting with Specified Pattern
- Multithreaded Replication
- Namespaces
- Namespaces in Subpipelines
- Namespaces in Subpipelines
- Naming Restrictions
- Native Methods in mongosh
- Negations
- Negative Dividend
- Negative Dividend
- Nested Fields
- Next Steps
- Non-Equality Filter
- Non-Numeric Model
- Non-Voting Members
- Not Enough Elements Error
- Number of Connections
- Number of Stages Restrictions
- Number of mongos and Distribution
- Numeric Model
- OCSF Category Mapping
- OCSF Class Mapping
- OCSF Schema Audit Messages
- OCSF Type Mapping
- OCSP (Online Certificate Status Protocol)
- OP_COMPRESSED
- OP_DELETE
- OP_GET_MORE
- OP_INSERT
- OP_KILL_CURSORS
- OP_MSG
- OP_QUERY
- OP_REPLY
- OP_UPDATE
- ObjectId
- Official MongoDB Packages
- Omissions
- Omit Specific Fields from Wildcard Index Coverage
- Omit Specific Fields from Wildcard Index Coverage
- On-Demand Materialized View: Initial Creation
- On-Demand Materialized View: Update/Replace Data
- Ongoing Defragmentation Process
- Ongoing Defragmentation Process
- Online Certificate Rotation
- Only Insert New Data
- Opcodes
- Open A Change Stream
- Operation Types
- Operations That Support Read Concern
- Operators
- Oplog Collection
- Oplog Collection Behavior
- Oplog Entries
- Oplog Size
- Oplog Size Limit
- Ops Manager
- Option for Collation
- Option for Collation
- Options
- Options
- Options
- Options
- Options
- Options
- Options for 2d Indexes
- Options for wildcard indexes
- Options for wildcard indexes
- Order of Tag Matching
- Ordered Bulk Write Example
- Ordered vs Unordered Operations
- Other Security Mechanisms
- Other Security Mechanisms
- Output
- Output
- Output
- Output
- Output
- Output
- Output
- Output
- Output
- Output
- Output
- Output
- Output
- Output
- Output
- Output
- Output
- Output
- Output
- Output
- Output
- Output
- Output Document
- Output Example
- Output Examples
- Output Fields
- Output Fields
- Output Fields
- Output Format
- Output the Configuration File with Resolved Expansion Directive Values
- Output to the Same Collection that is Being Aggregated
- Outside Reads During Commit
- Override Default Write Concern
- Override Default Write Concern
- Overview
- PSA 3-member Architecture
- PSA 3-member Architecture
- Parameters
- Parameters
- Parsing Structured Log Messages
- Partial Index with Unique Constraint
- Partial Indexes
- Partial TTL Indexes
- Patch Releases
- Pending DDL Operations and Transactions
- Perform Case-Insensitive Regular Expression Match
- Perform Geospatial Queries in Atlas
- Perform a Concise Correlated Subquery with $lookup
- Perform a Count
- Perform a Single Equality Join with $lookup
- Perform an Uncorrelated Subquery with $lookup
- Performance Considerations
- Performance Considerations
- Performance Issues with PSA replica sets
- Pipeline Coalescence Optimization
- Pipeline Sequence Optimization
- Pipeline with $currentOp
- Pivot Data
- Plan Cache Entry State
- Plan Cache Flushes
- Platform Specific Considerations
- Platform Support
- Platform Support
- Platform Support Matrix
- Point
- Polygon
- Pre-Define Zones and Zone Ranges for an Empty or Non-Existing Collection
- Prerequisites
- Prerequisites
- Prerequisites
- Prerequisites
- Prerequisites
- Prerequisites
- Pretty Printing
- Primary
- Primary Shard
- Primary with Two Secondary Members (P-S-S)
- Primary with a Secondary and an Arbiter (PSA)
- Primary-Secondary-Arbiter Replica Sets
- Privilege Actions
- Privileges
- Procedure
- Procedure
- Procedure
- Procedure
- Procedure
- Procedure
- Procedure (Using ssl Settings)
- Procedure (Using tls Settings)
- Procedure: Rotate Encryption Keys Using Mongo Shell
- Procedures
- Procedures (Using net.ssl Settings)
- Procedures (Using net.tls Settings)
- Process Logging
- Production Configuration
- Profiler Overhead
- Profiling Levels
- Progress Monitor
- Prohibited Indexes
- Project Fields to Return from a Query with MongoDB Atlas
- Project New Array Fields
- Project Specific Array Elements in the Returned Array
- Project Specific Fields in Return Document
- Project the Returned Document
- Projecting the Deleted Document
- Projection
- Projection
- Projection Operators
- Projection Optimization
- Projections
- Properties of Time Series Data
- Queries with Explicit Array Indices
- Queries with Sort
- Query Best Practices
- Query Coverage
- Query Documents with MongoDB Atlas
- Query Embedded Documents
- Query Embedded Documents with MongoDB Atlas
- Query Filter Documents
- Query Plan Cache Commands
- Query Restrictions
- Query Selectivity
- Query Selectors
- Query Selectors
- Query Shape
- Query Shape Hash
- Query a Time Series Collection
- Query an Array for an Element
- Query an Array of Documents with MongoDB Atlas
- Query an Array with Compound Filter Conditions on the Array Elements
- Query an Array with MongoDB Atlas
- Query and Projection Operators
- Query and Write Operation Commands
- Query and Write Operation Commands
- Query for Data with the Bucket Pattern
- Query for Null or Missing Fields with MongoDB Atlas
- Query for an Array Element that Meets Multiple Criteria
- Query with Index
- Query with No Index
- Queryable Encryption
- Queryable Encryption Compatibility
- Queryable Encryption Driver Compatibility
- Queryable Encryption Limitations
- Querying by Array Type
- Querying by Data Type
- Querying by MinKey and MaxKey
- Querying by Multiple Data Types
- Queue Information
- Randomized Encryption
- Range
- Range Deletion Performance Tuning
- Range Migration
- Range Migration Procedure
- Range Migration and Replication
- Range Size
- Range Window Example
- Rank Partitions Containing Duplicate Values, Nulls, or Missing Data
- Rapid Releases
- Re-Enable the Balancer
- Read Concern
- Read Concern "local" and Write concern "majority"
- Read Concern "local" and Write concern {w: 1}
- Read Concern "majority" and Transactions
- Read Concern "majority" and Write concern "majority"
- Read Concern "majority" and Write concern {w: 1}
- Read Concern "snapshot"
- Read Concern Levels
- Read Concern Option
- Read Concern and atClusterTime
- Read Concern local and Transactions
- Read Concern/Write Concern/Read Preference
- Read Operations
- Read Operations and afterClusterTime
- Read Operations to Sharded Clusters
- Read Preference
- Read Preference
- Read Preference
- Read Preference Modes
- Read Preference Options
- Read Preference and Shards
- Read Preference and Shards
- Read Preference for Replica Sets
- Read Preference for Sharded Clusters
- Read and Write Operations on Config Servers
- Read from a Consistent State of the Data from Some Point in the Past
- Read/Write Operations and Missing Shard Key Fields
- Reads / Writes
- Reads after { w: "majority" } Writes
- Real Time Order
- Reasons to Use a Remote Key Management System
- Recommended
- Recommended Configuration
- Recommended Platforms
- Recommended ulimit Settings
- Reconfiguration Can Add or Remove No More than One Voting Member at a Time
- Reconfiguration Can Add or Remove No More than One Voting Member at a Time
- Reconfiguration Waits Until a Majority of Members Install the Replica Configuration
- Reconfiguration Waits Until a Majority of Members Install the Replica Configuration
- Reconfigure by Forcing the Reconfiguration
- Redaction
- Redaction
- Redistribute Data to New Shards
- Reducing Oplog Size Does Not Immediately Return Disk Space
- Reference
- Reference
- Reference
- Reference Key Alternate Name in an Encryption Schema
- References
- References
- Refresh a Cursor with refreshSessions
- Regex Match Behaviour
- Relevance Score Examples
- Remote Filesystems (NFS)
- Remove All Items That Match a Specified $pull Condition With bulkWrite()
- Remove Field with Known Name
- Remove Fields
- Remove Fields with Unknown Names
- Remove Undefined Fields
- Remove a Balancing Window Schedule
- Remove a Member Using rs.reconfig()
- Rename a Field in an Embedded Document
- Renard Series
- Replace
- Replace A Document
- Replace Document with Time Limit
- Replace Document with Upsert
- Replace Documents ($merge) vs Replace Collection ($out)
- Replace Existing Collection
- Replace One Document and Use a Sort
- Replace the Existing Binaries
- Replace with Upsert
- Replace with Write Concern
- Replica Set Config Servers
- Replica Set Configuration Document Example
- Replica Set Configuration Fields
- Replica Set Member States
- Replica Set Option
- Replica Set and Sharded Clusters
- Replica Set and Sharded Clusters
- Replica Sets
- Replica Sets
- Replication
- Replication
- Replication
- Replication Lag and Flow Control
- Replication Options
- Replication Sync Source Selection
- Replication and Monitoring
- Replication in MongoDB
- Report Details for All Parameters
- Report Details on a Single Parameter
- Required Access
- Required Access
- Required Access
- Required Privileges
- Requirements
- Reshard a Collection to the Same Shard Key
- Resharding Output Example
- Resharding Process
- Resize a Capped Collection
- Resolve Duplicate Documents on Reads
- Resolve Write Failure
- Resource Document on Self-Managed Deployments
- Resource Utilization
- Response
- Response
- Restart the mongos Instances
- Restore Directly from a Snapshot
- Restore a Database with mongorestore
- Restore a Snapshot
- Restricted Operations
- Restricted Operations
- Restrictions
- Restrictions
- Restrictions on Sharded Collection
- Resume Token
- Resume Tokens
- Resume Tokens from Change Events
- Resume Tokens from aggregate
- Resume Tokens from getMore
- Resume a Change Stream
- Retrieve All Parameters
- Retrieve All Runtime Parameters
- Retrieve All Startup Parameters
- Retrieve Budget Documents for Roles Granted to the Current User
- Retrieve Distinct Values
- Retrieve Documents for Roles Granted to the Current User
- Retrieve Documents for Roles Granted to the Current User
- Retrieve Medical Information for Roles Granted to the Current User
- Retryable Read Operations
- Retryable Write Operations
- Return All Search Indexes
- Return All Search Indexes
- Return Distinct Values for an Array Field
- Return Distinct Values for an Array Field
- Return Documents in Insertion Order
- Return Information on Aggregation Pipeline Operation
- Return Most Recent Documents
- Return States with Populations above 10 Million
- Return Top 2 Matching Documents
- Return a Single Search Index
- Return a Single Search Index by Name
- Return a Single Search Index by id
- Return in Natural Order
- Return the Relevance Score
- Returns
- Reusing Dropped Collection Names on Sharded Clusters
- Role Management
- Role Management Commands
- Role-Based Access Control
- Role-Based Access Control
- Roles
- Rollback Data
- Rollback Elapsed Time Limitations
- Run MongoDB Community Edition
- Run MongoDB Community Edition from the Command Interpreter
- Run Related Queries From the Same Point in Time
- Run in FIPS Mode
- Running .js files via a mongosh Instance on the Server
- Runtime Audit Filter Management
- Runtime Configurability
- Runtime Limit
- SCRAM Authentication
- SCRAM Mechanisms
- SIGTERM and Replica Sets
- SQL to MongoDB Mapping Chart
- SRV Connection Format
- Sample Data
- Sampled Queries
- Schedule the Balancing Window
- Scheduling
- Search Index Definition Syntax
- Search Index Definition Syntax
- Search Index Definition Syntax
- Search Using the Attribute Pattern
- Secondaries
- Secondary Throttle
- Sections
- Security Considerations
- Security Considerations
- Security Reference Documentation
- Security Reference for Self-Managed Deployments
- Self-Managed Configuration File Options
- Self-Managed Configuration File Settings and Command-Line Options Mapping
- Self-Managed Replica Set Configuration
- Self-Managed Replica Set Protocol Version
- Self-Managed Replication Reference
- Separation of Concerns
- Server Mode
- Server Selection and Discovery Options
- Server Sessions
- Server-Side Field Level Encryption Enforcement
- Server-Side Field Level Encryption Enforcement
- Server-Side Field Level Encryption Enforcement
- Service Principal
- Session Commands
- Session Idle Timeout
- Session Workflow Log Message
- Set Expression Operators
- Set Feature Compatibility Version on MongoDB 7.0 Deployments
- Set Global Default Read and Write Concern
- Set Up mongod and mongos with Client Certificate Validation
- Set Up mongod and mongos with TLS/SSL Certificate and Key
- Set Your Own Clustered Index Key Values
- Set a Filter to Determine Profiled Operations
- Set vm.swappiness to 1 or 0
- Severity
- Shard Configuration Restriction
- Shard Configuration Restriction
- Shard Direct Commands
- Shard Key
- Shard Key Cardinality
- Shard Key Frequency
- Shard Key Indexes
- Shard Key Limitations
- Shard Key Modification
- Shard Key Modification
- Shard Key Modification
- Shard Key Modification
- Shard Key Modification
- Shard Key Modification
- Shard Key Selection
- Shard Local Users
- Shard Size
- Shard a Collection
- Shard an Empty Collection
- Sharded Cluster
- Sharded Cluster Metadata
- Sharded Cluster Users
- Sharded Clusters
- Sharded Clusters
- Sharded Clusters and Unique Indexes
- Sharded Collection
- Sharded Collection as Input
- Sharded Collections
- Sharded Collections
- Sharded Collections
- Sharded Collections
- Sharded Collections
- Sharded Collections
- Sharded Collections
- Sharded Collections
- Sharded Collections
- Sharded Collections
- Sharded and Non-Sharded Collections
- Sharding
- Sharding Best Practices
- Sharding Commands
- Sharding Operational Restrictions
- Sharding Operational Restrictions
- Sharding Query Patterns
- Sharding Reference
- Sharding Strategy
- Sharding Version
- Shards
- Show Authentication Restrictions
- Show Authentication Restrictions
- Show Role Inheritance Information
- Show Role Privileges
- Show Role Privileges and Built-In Roles
- Single Field Index
- Single Purpose Aggregation Methods
- Single Query Condition
- Single or Compound Shard Keys
- Slot-Based Query Execution Engine
- Slot-Based Query Execution Engine Pipeline Optimizations
- Slow Operation
- Slow Oplog Application
- Snapshot History Retention
- Snapshots Overview
- Snapshots With Journaling
- Snapshots and Checkpoints
- Sort
- Sort And Delete A Document
- Sort And Update A Document
- Sort Array of Documents by a Field in the Documents
- Sort Consistency
- Sort Consistency
- Sort Stage
- Sort and Index Prefix
- Sort and Index Use
- Sort and Non-prefix Subset of an Index
- Sort and Remove
- Sort and Replace A Document
- Sort by Relevance Score
- Sort by an Array Field
- Sort on Multiple Fields
- Sort with a Single Field Index
- Sorting
- Sparse Compound Indexes
- Sparse Index On A Collection Cannot Return Complete Results
- Sparse and Non-Sparse Unique Indexes
- Sparse and Unique Properties
- Specific Output Examples
- Specific Output Examples
- Specify All Non-System Collections in All Databases
- Specify Collation
- Specify Collation
- Specify Collation
- Specify Collections Across Databases as Resource
- Specify Equality Condition
- Specify In-Memory Storage Engine
- Specify Multiple Conditions for Array Elements
- Specify Read Concern: MongoDB Drivers
- Specify Read Preference Mode
- Specify Storage Engine Options
- Specify Storage Engine Options
- Specify Which Geospatial Index to Use
- Specify Write Concern: MongoDB Drivers
- Specify a Collection of a Database as Resource
- Specify a Database as Resource
- Specify an Index
- Specify an Initial Batch Size
- Specify arrayFilters for Array Update Operations
- Specify arrayFilters for Array Update Operations
- Specify arrayFilters for an Array Update Operations
- Specify arrayFilters for an Array Update Operations
- Specify arrayFilters for an Array Update Operations
- Specify hint for Delete Operations
- Specify hint for Delete Operations
- Specify hint for Delete Operations
- Specify hint for Update Operations
- Specify hint for Update Operations
- Specify hint for Update Operations
- Specify hint for Update Operations
- Specify hint for findAndModify Operations
- Specify hint for replaceOne
- Specify the Index to Use
- Specify the Threshold for Slow Operations
- Stable API
- Stable API
- Stable API
- Stable API Changelog
- Stable API Commands
- Stable API Error Responses
- Standard Connection String Format
- Standard Message Header
- Start MongoDB Community Edition as a Windows Service
- Start MongoDB Community Edition as a Windows Service
- Start MongoDB Enterprise Edition as a Windows Service
- Start MongoDB Enterprise Edition from the Command Interpreter
- Start Sharded Cluster
- Start a mongos for the Sharded Cluster
- Start mongod Processes
- Stemmed Words
- Steps
- Steps
- Steps
- Steps
- Steps
- Steps
- Steps
- Steps
- Steps
- Stop In-Progress Index Builds
- Stop In-Progress Index Builds
- Stop In-Progress Index Builds
- Stop MongoDB Community Edition as a Windows Service
- Stop a Replica Set
- Stop mongod Processes
- Storage Engines
- Storage Node Watchdog
- Storage Optimization for Small Documents
- Storage Requirements and Performance Costs
- Strategies for Bulk Inserts to a Sharded Collection
- Streaming Replication
- String
- Superuser Roles
- Support for Encrypting Objects and Arrays
- Supported Aggregation Expressions
- Supported Aggregation Expressions
- Supported Aggregation Stages
- Supported Aggregation Stages
- Supported Key Management Services
- Supported Languages and Locales
- Supported Languages and Stop Words
- Supported Operations
- Supported Operations for Automatic Encryption
- Supported Operations for Queryable Encryption
- Supported Platforms
- Supported Query Operators
- Supported Query Operators
- Supported Query Types and Behavior
- Supported Read and Write Commands
- Supported Read and Write Commands
- Supported Update Operators
- Supported Update Operators
- Supported and Unsupported BSON Types
- Supporting Indexes
- Sync by Copying Data Files from Another Member
- Synonym Mapping Details
- Synonym Mapping Details
- Syntax
- Syntax
- System Collections
- System Event Audit Messages
- System Variables
- TLS Options
- TLS Options
- TLS Options
- TLS/SSL Certificate Passphrase
- TTL Indexes
- Tags
- Targeted Operations
- Targeted Operations vs. Broadcast Operations
- Terminate a Command
- Test Connections Between all Members
- Text Index and Sort
- Text Score
- Text Score Metadata $meta: "textScore"
- Text Score Metadata Sort
- Text Score Metadata Sort
- Text Search Languages on Self-Managed Deployments
- The Bucket Catalog
- The _id Field
- The bios Example Collection
- The chunks Collection
- The chunks Index
- The files Collection
- The files Index
- The local Database
- Tickets
- Time Limit
- Time Range Window Examples
- Time Series Collections
- Time Series Collections
- Time Series Collections
- Time Series Field Reference
- Time Series Options
- Time Series Options
- Time Series Secondary Indexes
- Time Waiting for Shards Logged in remoteOpWaitMillis Field
- Timestamp
- Timestamps
- Timing of Delete Operations
- To what size should I set the WiredTiger internal cache?
- Toggle $queryStats Log Output
- Tokenization Delimiters
- Too Many Elements Error
- Traffic to and from mongod Instances
- Traffic to and from mongod.exe Instances
- Transaction (Read and Write) Concurrency
- Transaction Error Handling
- TransactionTooLargeForCache
- Transactions and Atomicity
- Transactions and Operations
- Transactions and Read Concern
- Transactions and Read Preference
- Transactions and Write Concern
- Transformed Example
- TransientTransactionError
- Transport Encryption (TLS/SSL)
- Transport Encryption (TLS/SSL)
- Troubleshooting
- Troubleshooting ChecksumMismatchError
- Truncation
- Type Bracketing
- Type Representations
- UNIX ulimit Settings for Self-Managed Deployments
- Unclean Shutdown
- Uneven Load Distribution
- Unique Compound Index
- Unique Constraint Across Separate Documents
- Unique Identifiers
- Unique Index Constraints
- Unique Index on a Single Field
- Unique Indexes
- Unique Indexes
- Unique Indexes in Sharded Collections
- UnknownTransactionCommitResult
- Unordered Bulk Write Example
- Unshard Zones
- Unshard Zones
- Unshard a Zone Sharded Collection
- Unshard a Zone Sharded Collection
- Unsupported Aggregation Stages
- Unsupported BSON Types
- Unsupported Insert Operations
- Unsupported Insert Operations
- Unsupported Queries
- Untransformed Example
- Update (Using tls Options) Clusters Using Keyfile but Not TLS/SSL
- Update A Document
- Update All Array Elements That Match arrayFilters
- Update All Elements in an Array
- Update Document with Time Limit
- Update Document with Time Limit
- Update Document with Upsert
- Update Documents Using an Aggregation Pipeline
- Update Documents in a Collection
- Update Embedded Documents Using Multiple Field Matches
- Update Field with Known Name
- Update Fields with Unknown Names
- Update Multiple Documents
- Update Multiple Documents
- Update Multiple Documents with Upsert
- Update Nested Arrays in Conjunction with $[<identifier>]
- Update Nested Arrays in Conjunction with $[]
- Update Operation with a Sort
- Update Operators
- Update Queries to Match Undefined Values
- Update Secondaries using Initial Sync
- Update Specification Documents
- Update Statements
- Update Undefined Values to Null
- Update a Document with MongoDB Atlas
- Update a Single Document
- Update using Update Operator Expressions
- Update with Aggregation Pipeline
- Update with Aggregation Pipeline
- Update with Aggregation Pipeline
- Update with Aggregation Pipeline
- Update with Aggregation Pipeline
- Update with Aggregation Pipeline
- Update with Multiple Array Matches
- Update with Upsert
- Update with Write Concern
- Update with Write Concern
- Update with a Replacement Document
- Update with an Aggregation Pipeline
- Update with an Aggregation Pipeline
- Update with an Aggregation Pipeline
- Update with an Update Operator Expressions Document
- Update with an Update Operator Expressions Document
- Update with an Update Operator Expressions Document
- Update with let Variables
- Updates
- Updates Using Aggregation Pipelines
- Updates for Outliers
- Upgrade (Using tls Options) Clusters Using TLS/SSL and Keyfile
- Upgrade Procedures (Using ssl Options)
- Upgrade Procedures (Using tls Options)
- Upgrade Replica Sets
- Upgrade Sharded Clusters
- Upgrade a MongoDB Instance
- Upsert
- Upsert Option
- Upsert with Duplicate Values
- Upsert with Unique Index
- Upsert with Unique Index
- Upsert with Unique Index
- Usage
- Usage
- Use $all to Match Values
- Use $all with $elemMatch
- Use $lookup with $mergeObjects
- Use $lookup with an Array
- Use Cases
- Use Command-line Options (ssl)
- Use Command-line Options (tls)
- Use GridFS
- Use Multiple Fill Methods in a Single Stage
- Use Multiple Fill Methods in a Single Stage
- Use Multiple Join Conditions and a Correlated Subquery
- Use Secondary Indexes to Improve Sort Performance
- Use Tag Sets in Read Preference
- Use Variables in let
- Use Variables in let
- Use Variables in let
- Use Variables in let
- Use Variables in let
- Use Variables in let
- Use Variables in let
- Use Variables in let
- Use Variables in let Option or c Field
- Use Variables to Customize the Merge
- Use a $documents Stage in a $lookup Stage
- Use a Regular Expression to Match Case in Strings
- Use an Aggregation Pipeline for Updates
- Use an Aggregation Pipeline for Updates
- Use an Aggregation Pipeline for Updates
- Use an Oplog File to Backup and Restore Data
- Use in $group Stage
- Use in $group Stage
- Use in $group Stage
- Use in $group Stage
- Use in $project Stage
- Use in $setWindowFields Stage
- Use in $setWindowFields Stage
- Use in $setWindowFields Stage
- Use in $setWindowFields Stage
- Use the $in Operator with a Regular Expression
- Use the . Dot Character to Match New Line
- Use the __exec Expansion Directive
- Use the __rest Expansion Directive
- User Management
- User Management Commands
- User Objects
- User Objects
- User Principal
- User Roles and Document Updates
- User Roles and Document Updates
- User Roles and Document Updates
- User Variables
- Users
- Users and Authentication Mechanisms
- Using $firstN as an Aggregation Expression
- Using $lastN as an Aggregation Expression
- Using Custom Bucketing Parameters
- Using Write Concern
- Using a Custom MongoDB Directory Path
- Using a Scale Factor
- Using the Decimal BSON Type
- Using the MongoDB Database Tools
- Using tuned and ktune
- Using tuned and ktune
- Validate Only if a Client Presents a Certificate
- Validate Output
- Value Range
- Variables in Aggregation Expressions
- Vector Search Index Definition Syntax
- Vector Search Index Definition Syntax
- Verbosity Levels
- Verbosity Modes
- Verbosity Modes
- Verbosity Modes
- View
- View All User-Defined Roles for a Database
- View All User-Defined and Built-In Roles for a Database
- View Authentication Restrictions for Roles
- View Cluster Details
- View Information for Multiple Roles
- View Information for a Single Role
- View Pipelines
- Wait for Delete
- Watch a Collection, Database, or Deployment
- What are lock-free read operations?
- What locks are taken by some common client operations?
- What type of locking does MongoDB use?
- When to Use GridFS
- Which administrative commands lock a collection?
- Which administrative commands lock a database?
- Whitespace Characters
- Whitespace Characters
- Whitespace Characters
- Wildcard Index Restrictions
- Wildcard Index Signature
- Wildcard Indexes
- Wildcard Indexes
- Wildcard Indexes Reference
- Wildcard Indexes on Arrays
- Wildcard Indexes on Embedded Objects
- Wildcard Indexes on Embedded Objects and Arrays
- Window Operators
- WiredTiger
- WiredTiger Options
- With an Option
- Within a "Big" Polygon
- Workloads that Might Require a Larger Oplog Size
- Write Concern
- Write Concern
- Write Concern
- Write Concern Contrasted with Commit Quorum
- Write Concern Options
- Write Concern Specification
- Write Concern for DDL Operations
- Write Lifecycle Diagrams
- Write Operations
- Write Operations on Replica Sets
- Write Operations on Sharded Clusters
- WriteResult
- WriteResult
- WriteResult
- X.509
- X.509 Certificate Authentication
- Zone Sharding and Compound Hashed Indexes
- Zone Sharding and Initial Chunk Distribution
- Zone Sharding and Initial Chunk Distribution
- Zones in Sharded Clusters
- _id Field
- _id Field
- admin Database Commands
- aggregate Command Query Shape
- allPlansExecution Mode
- allPlansExecution Mode
- anyResource
- api
- bucketCatalog
- captures Output Behavior
- captures Output Behavior
- changeStreamPreImages
- compact Required Privileges
- count Field
- create Event
- createIndexes Event
- dataKeyOpts Object
- db.auth(<user document>)
- db.auth(<username>, <password>)
- db.shutdownServer() on Replica Set Members
- delete Event
- deleteMany() with Write Concern
- deleteOne and deleteMany
- deleteOne() with Write Concern
- distinct Command
- drop Event
- electionMetrics
- executionStats
- executionStats Mode
- executionStats Mode
- explain() Mechanics
- field Restrictions
- fields Projection
- find Command Query Shape
- help()
- i Option
- i Option
- i Option
- inMemory Options
- includeArrayIndex
- insertOne
- install_compass
- j Option
- keyCharacteristics
- kmsProviders Object
- lastErrorObject
- latencyStats Document
- libldap and libldap_r
- linear Behavior
- locf Behavior
- metaField Best Practices
- metaField Considerations
- metaFields
- modify Event
- mongo Schema Audit Messages
- mongocryptd
- mongos
- mongosh Example
- mongosh Methods
- net.tls Options
- numericOrdering
- oidcIdentityProviders Fields
- operationProfiling Options
- partitionByFields Restrictions
- partitionByFields Restrictions
- patternProperties Keyword
- planCacheKey
- planCacheShapeHash
- planCacheShapeHash and planCacheKey
- preserveNullAndEmptyArrays
- queryAnalyzers
- queryExecStats Document
- queryPlanner
- queryPlanner Mode
- queryPlanner Mode
- queues
- range.bounds Behavior
- readWriteDistribution
- refineCollectionShardKey Event
- rename Event
- replace Event
- replaceOne
- replication Options
- reshardCollection Event
- resumeAfter for Change Streams
- secondary vs secondaryPreferred
- security.ldap Options
- security.sasl Options
- serverInfo
- shardCollection Event
- shutdown on Replica Set Members
- startAfter for Change Streams
- storage.wiredTiger Options
- storageStats Document
- system.roles Schema
- system.users Collection in Self-Managed Deployments
- system.users Schema
- systemLog Options
- ulimit
- update Event
- updateOne and updateMany
- upsert on a Sharded Collection
- upsert on a Sharded Collection
- upsert on a Sharded Collection
- upsert on a Sharded Collection
- usersInfo: <various>
- value
- w Option
- w: "majority" Behavior
- wiredTiger
- wtimeout
- ➤ Configure Role-Based Access Control
- ➤ Enable Access Control and Enforce Authentication
- ➤ Run MongoDB with Secure Configuration Options
Types
Variables