Model Specific Application Contexts

  • Model Data for Atomic Operations
  • Illustrates how embedding fields related to an atomic updatewithin the same document ensures that the fields are in sync.
  • Model Data to Support Keyword Search
  • Describes one method for supporting keyword search by storingkeywords in an array in the same document as the text field.Combined with a multi-key index, this pattern can supportapplication’s keyword search operations.
  • Model Monetary Data
  • Describes two methods to model monetary data in MongoDB.
  • Model Time Data
  • Describes how to deal with local time in MongoDB.