ObjectIdSupport
zio.blocks.schema.bson.ObjectIdSupport
object ObjectIdSupport
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
- Graph
-
- Supertypes
- Self type
-
ObjectIdSupport.type
Members list
In this article