Packages

o

org.mongodb.scala.bson

BsonObjectId

object BsonObjectId

Companion helper for a BsonObjectId

Since

1.0

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BsonObjectId
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply(value: ObjectId): BsonObjectId

    Creates a new BsonObjectId

    Creates a new BsonObjectId

    value

    the ObjectId.

    returns

    the BsonObjectId

  2. def apply(value: String): BsonObjectId

    Creates a new BsonObjectId

    Creates a new BsonObjectId

    value

    the 24-byte hexadecimal string representation of an ObjectId.

    returns

    the BsonObjectId

  3. def apply(): BsonObjectId

    Creates a new BsonObjectId

    Creates a new BsonObjectId

    returns

    the BsonObjectId