Packages

  • package root
    Definition Classes
    root
  • package reactivemongo
    Definition Classes
    root
  • package api
    Definition Classes
    reactivemongo
  • package bson

    import reactivemongo.api.bson._
    
    // { "name": "Johny", "surname": "Doe", "age": 28, "months": [1, 2, 3] }
    document ++ ("name" -> "Johny") ++ ("surname" -> "Doe") ++
    ("age" -> 28) ++ ("months" -> array(1, 2, 3))
    
    // { "_id": generatedId, "name": "Jane", "surname": "Doe", "age": 28,
    //   "months": [1, 2, 3], "details": { "salary": 12345,
    //   "inventory": ["foo", 7.8, 0, false] } }
    document ++ ("_id" -> generateId, "name" -> "Jane", "surname" -> "Doe",
      "age" -> 28, "months" -> array(1, 2, 3),
      "details" -> document(
        "salary" -> 12345L, "inventory" -> array("foo", 7.8, 0L, false)))
    Definition Classes
    api
  • package exceptions
    Definition Classes
    bson
  • BSONValueNotFoundException
  • HandlerException
  • TypeDoesNotMatchException
  • ValueDoesNotMatchException

package exceptions

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. final class BSONValueNotFoundException extends Exception with NoStackTrace

    Formerly DocumentKeyNotFoundException

  2. final class HandlerException extends Exception with NoStackTrace

    Exception from a BSON reader/writer.

  3. final case class TypeDoesNotMatchException(expected: String, actual: String) extends Exception with NoStackTrace with Product with Serializable
  4. final case class ValueDoesNotMatchException(actual: String) extends Exception with NoStackTrace with Product with Serializable

Value Members

  1. object BSONValueNotFoundException extends Serializable
  2. object HandlerException extends Serializable

Ungrouped