BsonValue

mongo4cats.bson.BsonValue
See theBsonValue companion object
sealed abstract class BsonValue

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BArray
class BBinary
class BBoolean
class BDateTime
class BDecimal
class BDocument
class BDouble
class BInt32
class BInt64
object BMaxKey.type
object BMinKey.type
object BNull.type
class BObjectId
class BRegex
class BString
object BUndefined.type

Members list

Concise view

Value members

Abstract methods

def asBigDecimal: Option[BigDecimal]
def asBoolean: Option[Boolean]
def asDocument: Option[Document]
def asDouble: Option[Double]
def asInstant: Option[Instant]
def asInt: Option[Int]
def asList: Option[List[BsonValue]]
def asLong: Option[Long]
def asObjectId: Option[ObjectId]
def asString: Option[String]
def isNull: Boolean
def isUndefined: Boolean