reactivemongo.api.bson.BSONNull
See theBSONNull companion object
BSON null value
Attributes
Members list
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
The code indicating the BSON type for this value as Byte
The code indicating the BSON type for this value as Byte
Attributes
The code indicating the BSON type for this value
The code indicating the BSON type for this value
Attributes
In this article