Packages

  • package root

    This is the documentation for the MongoDB Scala driver.

    This is the documentation for the MongoDB Scala driver.

    Driver structure

    The mongodb scala driver.

    To get started you need a MongoClient instance, either from a connection string or via a org.mongodb.scala.MongoClientSettings.

    Notable packages include:

    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package mongodb
    Definition Classes
    org
  • package scala

    The MongoDB Scala Driver package

    The MongoDB Scala Driver package

    Contains type aliases and companion objects to help when using the Scala API

    Definition Classes
    mongodb
    Since

    1.0

  • package model

    The model package containing models and options that help describe MongoCollection operations

    The model package containing models and options that help describe MongoCollection operations

    Definition Classes
    scala
  • package changestream
    Definition Classes
    model
  • F
  • FullDocument
  • package geojson
    Definition Classes
    model
  • package vault

    This package contains options classes for the key vault API

    This package contains options classes for the key vault API

    Definition Classes
    model
    Since

    2.7

p

org.mongodb.scala.model

changestream

package changestream

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. changestream
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type ChangeStreamDocument[T] = com.mongodb.client.model.changestream.ChangeStreamDocument[T]

    Represents the $changeStream aggregation output document.

    Represents the $changeStream aggregation output document.

    Note: this class will not be applicable for all change stream outputs. If using custom pipelines that radically change the change stream result, then an alternative document format should be used.

  2. type FullDocument = com.mongodb.client.model.changestream.FullDocument

    Change Stream fullDocument configuration.

Value Members

  1. object F
  2. object FullDocument

    Change Stream fullDocument configuration.

    Change Stream fullDocument configuration.

    Determines what to return for update operations when using a Change Stream. Defaults to FullDocument.DEFAULT. When set to FullDocument.UPDATE_LOOKUP, the change stream for partial updates will include both a delta describing the changes to the document as well as a copy of the entire document that was changed from *some time<*> after the change occurred.

    Since

    2.4

    Note

    Requires MongoDB 3.6 or greater

Inherited from AnyRef

Inherited from Any

Ungrouped