zio.blocks.schema.bson

Members list

Type members

Classlikes

object BsonBuilder

Helper functions for constructing BSON values in tests.

Helper functions for constructing BSON values in tests.

Attributes

Source
BsonTypes.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object BsonCodec

Attributes

Companion
class
Source
BsonTypes.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
BsonCodec.type
final case class BsonCodec[A](encoder: BsonEncoder[A], decoder: BsonDecoder[A])

Combined encoder and decoder for BSON values.

Combined encoder and decoder for BSON values.

Attributes

Companion
object
Source
BsonTypes.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
BsonCodecDeriver.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Source
BsonCodecDeriver.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait BsonDecoder[A]

Decoder for BSON values.

Decoder for BSON values.

Attributes

Companion
object
Source
BsonTypes.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object BsonDecoder

Attributes

Companion
trait
Source
BsonTypes.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final implicit class BsonDecoderOps(value: BsonValue) extends AnyVal

Extension methods for BsonValue to enable decoding.

Extension methods for BsonValue to enable decoding.

Attributes

Source
package.scala
Supertypes
class AnyVal
trait Matchable
class Any
object BsonEncoder

Attributes

Companion
trait
Source
BsonTypes.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait BsonEncoder[A]

Encoder for BSON values.

Encoder for BSON values.

Attributes

Companion
object
Source
BsonTypes.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
BsonSchemaCodec.scala
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait BsonTrace

Trace element for BSON decoding errors, indicating the path where an error occurred.

Trace element for BSON decoding errors, indicating the path where an error occurred.

Attributes

Companion
object
Source
BsonTypes.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Array
class Field
object BsonTrace

Attributes

Companion
trait
Source
BsonTypes.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
BsonTrace.type
case object BuildInfo

This object was generated by sbt-buildinfo.

This object was generated by sbt-buildinfo.

Attributes

Source
BuildInfo.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
BuildInfo.type

Provides Schema[ObjectId] support for BSON encoding/decoding.

Provides Schema[ObjectId] support for BSON encoding/decoding.

The ObjectId is represented as a wrapper around String (hex representation), but when encoded to BSON, it uses the native BsonType.OBJECT_ID (12-byte format) via special handling in BsonCodecDeriver.

Attributes

Source
ObjectIdSupport.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Implicits

Implicits

final implicit def BsonDecoderOps(value: BsonValue): BsonDecoderOps

Extension methods for BsonValue to enable decoding.

Extension methods for BsonValue to enable decoding.

Attributes

Source
package.scala