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 AutomaticallySpecifying the Position of a Matched ArrayAtomic OperationsModifying and Returning a Document AtomicallyRenaming a CollectionRemoving DataReferencing a DatabaseReferencing Data ManuallyReferencing Data with DBRefImplementing Index-Related FunctionsSurveying Index-Related CommandsForcing a Specified Index to Query DataConstraining Query MatchesSummary