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 bulk

    Models, options, results for the client-level bulk write operation.

    Models, options, results for the client-level bulk write operation.

    Definition Classes
    model
    Since

    5.4

  • ClientBulkWriteOptions
  • ClientDeleteManyOptions
  • ClientDeleteOneOptions
  • ClientNamespacedWriteModel
  • ClientReplaceOneOptions
  • ClientUpdateManyOptions
  • ClientUpdateOneOptions
  • package changestream
    Definition Classes
    model
  • package densify

    Definition Classes
    model
    Since

    4.7

    Note

    Requires MongoDB 5.1 or greater.

    See also

    Aggregates.densify

  • package fill

    Definition Classes
    model
    Since

    4.7

    Note

    Requires MongoDB 5.3 or greater.

    See also

    Aggregates.fill

  • package geojson
    Definition Classes
    model
  • package search

    Query building API for MongoDB Atlas full-text search.

    Query building API for MongoDB Atlas full-text search.

    While all the building blocks of this API, such as SearchOptions, SearchHighlight, etc., are not necessary immutable, they are unmodifiable due to methods like SearchHighlight.maxCharsToExamine returning new instances instead of modifying the instance on which they are called. This allows storing and using such instances as templates.

    Definition Classes
    model
    Since

    4.7

    See also

    Aggregates.search

    Aggregates.vectorSearch

    Atlas Search

    Atlas Search aggregation pipeline stages

  • 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

package bulk

Models, options, results for the client-level bulk write operation.

Since

5.4

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

Type Members

  1. type ClientBulkWriteOptions = com.mongodb.client.model.bulk.ClientBulkWriteOptions

    The options to apply when executing a client-level bulk write operation.

  2. type ClientBulkWriteResult = com.mongodb.client.model.bulk.ClientBulkWriteResult

    The result of a successful or partially successful client-level bulk write operation.

  3. type ClientDeleteManyOptions = com.mongodb.client.model.bulk.ClientDeleteManyOptions

    The options to apply when deleting documents.

  4. type ClientDeleteOneOptions = com.mongodb.client.model.bulk.ClientDeleteOneOptions

    The options to apply when deleting a document.

  5. type ClientNamespacedDeleteManyModel = com.mongodb.client.model.bulk.ClientNamespacedDeleteManyModel

    A model for deleting all documents matching a filter.

  6. type ClientNamespacedDeleteOneModel = com.mongodb.client.model.bulk.ClientNamespacedDeleteOneModel

    A model for deleting at most one document matching a filter.

  7. type ClientNamespacedInsertOneModel = com.mongodb.client.model.bulk.ClientNamespacedInsertOneModel

    A model for inserting a document.

  8. type ClientNamespacedReplaceOneModel = com.mongodb.client.model.bulk.ClientNamespacedReplaceOneModel

    A model for replacing at most one document matching a filter.

  9. type ClientNamespacedUpdateManyModel = com.mongodb.client.model.bulk.ClientNamespacedUpdateManyModel

    A model for updating all documents matching a filter.

  10. type ClientNamespacedUpdateOneModel = com.mongodb.client.model.bulk.ClientNamespacedUpdateOneModel

    A model for updating at most one document matching a filter.

  11. type ClientNamespacedWriteModel = com.mongodb.client.model.bulk.ClientNamespacedWriteModel

    A combination of an individual write operation and a MongoNamespace the operation is targeted at.

  12. type ClientReplaceOneOptions = com.mongodb.client.model.bulk.ClientReplaceOneOptions

    The options to apply when replacing a document.

  13. type ClientUpdateManyOptions = com.mongodb.client.model.bulk.ClientUpdateManyOptions

    The options to apply when updating documents.

  14. type ClientUpdateOneOptions = com.mongodb.client.model.bulk.ClientUpdateOneOptions

    The options to apply when updating a document.