io.github.zeal18.zio.mongodb.bson.annotations

Type members

Classlikes

case class BsonId() extends StaticAnnotation

Annotation to mark a field as an identifier for a document.

Annotation to mark a field as an identifier for a document.

case class BsonIgnore() extends StaticAnnotation

Annotation to ignore a property.

Annotation to ignore a property.

case class BsonProperty(key: String) extends StaticAnnotation

Annotation to change the stored key of a property

Annotation to change the stored key of a property

Value parameters:
key

the key for the stored property