ObjectId

dappermongo.ObjectId
See theObjectId companion class
object ObjectId

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ObjectId.type

Members list

Type members

Classlikes

object Factory

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Factory.type
trait Factory

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def fromByteBuffer(buffer: ByteBuffer): Either[String, ObjectId]
def fromChunk(chunk: Chunk[Byte]): Either[String, ObjectId]
def fromInstant(instant: Instant, timeOnly: Boolean): ObjectId
def make: UIO[ObjectId]
def parse(hexString: String): Either[String, ObjectId]
def setFactoryScoped(factory: => Factory): ZIO[Scope, Nothing, Unit]
def withFactory[R, E, A](factory: => Factory)(zio: => ZIO[R, E, A]): ZIO[R, E, A]

Implicits

Implicits

implicit val decoder: BSONReader[ObjectId]
implicit val encoder: BSONWriter[ObjectId]
implicit val order: Ordering[ObjectId]