Returns a BSONString.
Returns a BSONString.
reactivemongo.api.bson.BSONString("foo")
Returns the plain string representation for the given BSONString.
Returns the plain string representation for the given BSONString.
Extracts the string value if that
's a BSONString.
Extracts the string value if that
's a BSONString.
import reactivemongo.api.bson.{ BSONString, BSONValue } def show(v: BSONValue): String = v match { case BSONString(s) => s case _ => "not-string" }
BSONString utilities