reactivemongo.api.bson.BSONNull
See theBSONNull companion trait
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrortrait BSONNulltrait BSONBooleanLiketrait BSONValueclass Objecttrait Matchableclass AnyShow all
- Self type
-
BSONNull.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Inherited methods
Optionally parses this value as a T
one.
Optionally parses this value as a T
one.
Attributes
- Returns
-
Some
successfully parsed value, orNone
if failsimport reactivemongo.api.bson.BSONValue def foo(v: BSONValue): Option[String] = v.asOpt[String]
- Inherited from:
- BSONValue
Tries to parse this value as a T
one.
Tries to parse this value as a T
one.
import scala.util.Try
import reactivemongo.api.bson.BSONValue
def foo(v: BSONValue): Try[String] = v.asTry[String]
Attributes
- Inherited from:
- BSONValue
Concrete fields
Inherited fields
The code indicating the BSON type for this value as Byte
The code indicating the BSON type for this value
In this article