package annotations
Type Members
- case class BsonIgnore() extends Annotation with StaticAnnotation with Product with Serializable
Annotation to ignore a property.
Annotation to ignore a property.
- Since
4.2
- case class BsonProperty(key: String) extends Annotation with StaticAnnotation with Product with Serializable
Annotation to change the stored key of a property
Annotation to change the stored key of a property
- key
the key for the stored property
This is the documentation for the MongoDB Scala driver.
Driver structure
The mongodb scala driver.
To get started you need a MongoClient instance, either from a connection string or via a org.mongodb.scala.MongoClientSettings.
Notable packages include: