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
  • 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

  • DataKeyOptions
  • EncryptOptions
  • RangeOptions

package vault

This package contains options classes for the key vault API

Since

2.7

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

Type Members

  1. type DataKeyOptions = com.mongodb.client.model.vault.DataKeyOptions

    The options for creating a data key.

  2. type EncryptOptions = com.mongodb.client.model.vault.EncryptOptions

    The options for explicit encryption.

  3. type RangeOptions = com.mongodb.client.model.vault.RangeOptions

    Range options specifies index options for a Queryable Encryption field supporting "range" queries.

    Range options specifies index options for a Queryable Encryption field supporting "range" queries.

    Since

    4.9

Value Members

  1. object DataKeyOptions
  2. object EncryptOptions

    The options for explicit encryption.

  3. object RangeOptions

Inherited from AnyRef

Inherited from Any

Ungrouped