# Database Manual - (manual) (Part 8 of 10) > This part of the MongoDB manual covers the remaining operators, release notes, replication, security, sharding, troubleshooting, and the start of step-by-step tutorials. - [$bottom (expression operator)](https://www.mongodb.com/docs/manual/reference/operator/bottom.md): Use the `$bottom` operator in MongoDB to return the last value of an array. - [$bottomN (expression operator)](https://www.mongodb.com/docs/manual/reference/operator/bottomN.md): Use the `$bottomN` operator in MongoDB to return the last values of an array. - [$elemMatch (projection operator)](https://www.mongodb.com/docs/manual/reference/operator/projection/elemMatch.md): Limit the contents of an array field in query results to only the first element that matches the specified conditions, by using the `$elemMatch` projection operator in MongoDB. - [\$ (projection operator)](https://www.mongodb.com/docs/manual/reference/operator/projection/positional.md): Limit array contents using the positional `$` operator to return the first element matching a query condition in MongoDB. - [$slice (projection operator)](https://www.mongodb.com/docs/manual/reference/operator/projection/slice.md): Specify the number of elements to return from an array in a query result using the `$slice` projection operator. - [$all (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/all.md): Use the $all operator to efficiently query documents that contain arrays with specific elements. - [$and (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/and.md): Use the $and operator to perform a logical AND operation on expressions, selecting documents satisfying all conditions. - [$bitsAllClear (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/bitsAllClear.md): Use `$bitsAllClear` to match documents where specified bit positions in a field are clear, supporting numeric and `BinData` bitmasks. - [$bitsAllSet (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/bitsAllSet.md): Use `$bitsAllSet` to match documents where specified bit positions in a field are set to 1, using numeric or `BinData` bitmasks. - [$bitsAnyClear (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/bitsAnyClear.md): Use `$bitsAnyClear` to match documents where any specified bit positions in a field are clear (0), using numeric or BinData bitmasks. - [$bitsAnySet (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/bitsAnySet.md): Match documents where any specified bit positions are set using the `$bitsAnySet` operator in MongoDB queries. - [$box (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/box.md): Specify a rectangle for a `$geoWithin` query using `$box` to find documents within defined grid coordinates. - [$center (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/center.md): Use the `$center` operator in a `$geoWithin` query to specify a circle and return legacy coordinate pairs within its bounds. - [$centerSphere (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/centerSphere.md): Define a circle for geospatial queries using spherical geometry with the `$centerSphere` operator, specifying center coordinates and radius in radians. - [$elemMatch (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/elemMatch.md): Use the $elemMatch operator to match documents with array fields containing elements that meet specified criteria. - [$eq (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/eq.md): Use the $eq operator to match documents where a field value equals a specified value. $eq helps with precise equality comparisons in MongoDB queries. - [$exists (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/exists.md): Use the $exists operator to match documents with or without a specified field, including those with null values. - [$expr (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/expr.md): Use the $expr operator to use aggregation expressions in queries. $expr allows for advanced filtering and comparison based on document fields. - [$geoIntersects (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/geoIntersects.md): Select documents with geospatial data intersecting a specified GeoJSON object using the `$geoIntersects` operator. - [$geoWithin (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/geoWithin.md): Select documents with geospatial data within a specified shape using the `$geoWithin` operator, supporting various GeoJSON shapes and legacy coordinate pairs. - [$geometry (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/geometry.md): Specify GeoJSON geometry for geospatial queries using `$geometry` with default or custom coordinate reference systems. - [$gt (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/gt.md): Use the $gt operator to select documents where the value of the specified field is greater than (>) the specified value. - [$gte (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/gte.md): Use the The $gte operator to select documents where the value of the specified field is greater than or equal to a specified value. - [$in (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/in.md): Use the $in operator to select documents where a field's value equals any value in a specified array, and also query for multiple possible values. - [$jsonSchema (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/jsonSchema.md) - [$lt (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/lt.md): Select documents with fields less than a specified value using the `$lt` operator in MongoDB queries. - [$lte (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/lte.md): Select documents with fields less than or equal to a specified value using the `$lte` operator in MongoDB queries. - [$maxDistance (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/maxDistance.md): Constrain geospatial query results using `$maxDistance` to specify the maximum distance from a point in meters. - [$minDistance (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/minDistance.md): Filter geospatial query results to include only documents at least a specified distance from a center point using `$minDistance`. - [$mod (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/mod.md): Select documents using the `$mod` operator to perform modulo operations, specifying a divisor and remainder for field values. - [$ne (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/ne.md): Use the $ne query predicate operator to select documents where the field value is not equal to (≠) the specified value, including those that lack the field. - [$near (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/near.md): Specify a point for geospatial queries using `$near` to return documents sorted by distance, requiring a geospatial index. - [$nearSphere (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/nearSphere.md): Use the `$nearSphere` operator in MongoDB to perform geospatial queries that return documents ordered by proximity, requiring a geospatial index. - [$nin (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/nin.md): Use the $nin query operator to select documents where a field value is not in a given array or the field does not exist. Works with query and update operations. - [$nor (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/nor.md): Perform a logical `NOR` operation to select documents that fail all specified query predicates. - [$not (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/not.md): Use the $not operator to invert an operator expression and select documents that do not match the expression, including documents that lack the specified field. - [$or (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/or.md): Use the $or operator to perform a logical OR operation on an array of expressions and select all documents that satisfy at least one of the expressions. - [$polygon (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/polygon.md): Specify a polygon for geospatial queries using `$geoWithin` to find coordinate pairs within its bounds. - [$regex (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/regex.md): Learn how to pattern match on strings in MongoDB Atlas with the $regex operator. Learn syntax and options, and how to optimize $regex operator performance. - [$size (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/size.md): Use the $size operator to match arrays with the specified number of elements. $size helps you query documents based on the size of an array field. - [$text (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/text.md): Use $text to perform full-text search on fields with a text index. Supports multi-term OR, negation, exact phrases, and relevance scoring for self-managed deployments. - [$type (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/type.md): Query MongoDB documents by data type with the $type operator to search unstructured data with unpredictable types. Accepts single or multiple BSON aliases. - [$where (query predicate operator)](https://www.mongodb.com/docs/manual/reference/operator/query/where.md): Use the $where operator to pass JavaScript expressions or functions to the query system. This operator provides greater flexibility but may impact performance. - [$top (expression operator)](https://www.mongodb.com/docs/manual/reference/operator/top.md): Use the `$top` operator in MongoDB to return the top value of an array. - [$topN (expression operator)](https://www.mongodb.com/docs/manual/reference/operator/topN.md): Use the `$topN` operator in MongoDB to return the top values of an array. - [Array Update Operators](https://www.mongodb.com/docs/manual/reference/operator/update-array.md): Explore various array update operators in MongoDB, including `$`, `$addToSet`, `$pop`, `$pull`, `$push`, and their modifiers like `$each` and `$sort`. - [Bitwise Update Operator](https://www.mongodb.com/docs/manual/reference/operator/update-bitwise.md): Explore the `$bit` operator for performing bitwise `AND`, `OR`, and `XOR` updates on integer values in MongoDB. - [Field Update Operators](https://www.mongodb.com/docs/manual/reference/operator/update-field.md): Explore various field update operators in MongoDB, including `$set`, `$inc`, `$rename`, and `$unset`, for modifying document fields. - [$addToSet (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/addToSet.md): Use the $addToSet operator to add unique values to MongoDB arrays, ensuring no new duplicates. $addToSet appends values without guaranteeing element order. - [$bit (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/bit.md): Perform bitwise updates on integer fields using the `$bit` operator with `and`, `or`, and `xor` operations in MongoDB. - [$currentDate (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/currentDate.md): Use the $currentDate operator to set field values to the current date or timestamp. - [$each (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/each.md): Utilize the `$each` modifier with `$addToSet` and `$push` operators to add multiple values to arrays in MongoDB. - [$inc (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/inc.md): Use the $inc operator to increment field values by specified amounts. $inc creates fields if absent, errors on null values, and is atomic within a document. - [$max (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/max.md): Update a field to a specified value using `$max` if the specified value is greater than the current field value. - [$min (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/min.md): Update field values using `$min` to set a field to a specified value if it's less than the current value, applicable to numbers and dates. - [$mul (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/mul.md): Multiply a field's value by a number using the `$mul` operator, which can create fields and handle mixed numeric types. - [$pop (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/pop.md): Use the `$pop` operator to remove the first or last element from an array in MongoDB. - [$position (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/position.md): Use the $position operator to update array elements without specifying their position. - [\$[] (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/positional-all.md): Modify all elements in an array using the `$[]` operator in update operations, including nested arrays and upsert conditions. - [\$[] (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/positional-filtered.md): Learn to use the filtered positional operator `$[]` with `arrayFilters` to update specific array elements in MongoDB documents. - [\$ (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/positional.md): Use the positional `$` operator to update specific elements in an array without specifying their position, applicable in various MongoDB environments. - [$pull (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/pull.md): Use the $pull operator to remove all instances of a value or values from an array that match a specified condition. - [$pullAll (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/pullAll.md): Remove specified values from an array using the `$pullAll` operator in MongoDB. - [$push (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/push.md): Use the $push operator to append a specified value to an array. $push supports the $each, $slice, $sort, and $position modifiers for advanced array operations. - [$rename (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/rename.md): Rename fields in MongoDB documents using the `$rename` operator, which updates field names and handles embedded documents. - [$set (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/set.md): Use the $set operator to update or create fields at the top level in embedded documents or within arrays and replace the value of a field with specified value. - [$setOnInsert (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/setOnInsert.md): Use `$setOnInsert` to assign values during an upsert operation that results in a document insert, otherwise it does nothing. - [$slice (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/slice.md): Limit array elements during a `$push` operation using the `$slice` modifier, which must be used with `$each`. - [$sort (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/sort.md): Sort array elements during a `$push` operation using the `$sort` modifier, which must be used with `$each`. - [$unset (update operator)](https://www.mongodb.com/docs/manual/reference/operator/update/unset.md): Learn how to delete specific fields in MongoDB documents using the $unset operator. - [MongoDB Server Parameters for a Self-Managed Deployment](https://www.mongodb.com/docs/manual/reference/parameters.md): Explore various MongoDB server parameters for self-managed deployments, including configuration options for authentication, logging, replication, and storage. - [Privilege Actions](https://www.mongodb.com/docs/manual/reference/privilege-actions.md): Explore the privilege actions available for self-managed MongoDB deployments, detailing operations users can perform on resources. - [MongoDB Package Components](https://www.mongodb.com/docs/manual/reference/program.md): Explore the core components of the MongoDB package, including `mongod`, `mongos`, and `mongosh`, along with security tools and Compass installation. - [``install_compass``](https://www.mongodb.com/docs/manual/reference/program/install_compass.md): Install MongoDB Compass using platform-specific scripts, which replace any existing versions, on Linux, macOS, or Windows. - [``mongod.exe``](https://www.mongodb.com/docs/manual/reference/program/mongod.exe.md): Explore the unique options for using `mongod.exe` on Windows, including service installation and configuration.