Packages

  • package root
    Definition Classes
    root
  • package reactivemongo
    Definition Classes
    root
  • package bson
    Definition Classes
    reactivemongo
  • object Macros

    Macros for generating BSONReader and BSONWriter implementations for case at compile time.

    Macros for generating BSONReader and BSONWriter implementations for case at compile time. Invoking these macros is equivalent to writing anonymous class implementations by hand.

    import reactivemongo.bson.Macros
    
    case class Person(name: String, surname: String)
    implicit val personHandler = Macros.handler[Person]
    Definition Classes
    bson
    See also

    Macros.Options for specific options

  • object Options

    Methods with 'Opts' postfix will take additional options in the form of type parameters that will customize behaviour of the macros during compilation.

    Methods with 'Opts' postfix will take additional options in the form of type parameters that will customize behaviour of the macros during compilation.

    Definition Classes
    Macros
  • AutomaticMaterialization
  • Default
  • SaveSimpleName
  • SimpleUnionType
  • UnionType
  • Verbose
  • \/

trait \/[A, B] extends AnyRef

Type for making type-level lists for UnionType. If second parameter is another \/ it will be flattend out into a list and so on. Using infix notation makes much more sense since it then looks like a logical disjunction.

Foo \/ Bar \/ Baz is interpreted as type Foo or type Bar or type Baz

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. \/
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected