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 bson

    The bson package, contains mirrors and companion objects for Bson values.

    The bson package, contains mirrors and companion objects for Bson values.

    Definition Classes
    scala
  • object DefaultHelper

    A helper containing the sealed DefaultsTo trait which is used to determine the default type for a given method.

    A helper containing the sealed DefaultsTo trait which is used to determine the default type for a given method.

    Attributes
    protected[scala]
    Definition Classes
    bson
    Since

    1.0

  • DefaultsTo
  • LowPriorityDefaultsTo

object DefaultsTo extends LowPriorityDefaultsTo

Companion object for DefaultsTo

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultsTo
  2. LowPriorityDefaultsTo
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. implicit def default[B]: DefaultsTo[B, B]

    Implicitly sets a default type of B.

    Implicitly sets a default type of B. See DefaultsTo

    B

    the default type

    returns

    Defaults[B, B] instance

  2. implicit def overrideDefault[A, B]: DefaultsTo[A, B]

    Overrides the default with the set type of A.

    Overrides the default with the set type of A. See DefaultsTo

    A

    The type to use

    B

    The default type incase type A was missing

    returns

    Defaults[A, B] instance

    Definition Classes
    LowPriorityDefaultsTo