Navigating Your DatabasesViewing Available Databases and CollectionsInserting Data into CollectionsQuerying for DataUsing the Dot NotationUsing the Sort, Limit, and Skip FunctionsWorking with Capped Collections, Natural Order, and $naturalRetrieving a Single DocumentUsing the Aggregation CommandsWorking with Conditional OperatorsLeveraging Regular ExpressionsUpdating DataUpdating with update()Implementing an Upsert with the save() CommandUpdating Information AutomaticallyRemoving Elements from an ArraySpecifying the Position of a Matched ArrayAtomic OperationsModifying and Returning a Document AtomicallyProcessing Data in BulkExecuting Bulk OperationsEvaluating the OutputRenaming a CollectionDeleting DataReferencing a DatabaseReferencing Data ManuallyReferencing Data with DBRefImplementing Index-Related FunctionsSurveying Index-Related CommandsSummary