SnakeCase
reactivemongo.api.bson.FieldNaming.SnakeCase
object SnakeCase extends FieldNaming
For each class property, use the snake case equivalent to name its field (e.g. fooBar -> foo_bar).
import reactivemongo.api.bson.{ FieldNaming, MacroConfiguration }
val cfg: MacroConfiguration =
MacroConfiguration(fieldNaming = FieldNaming.SnakeCase)
Attributes
- Graph
-
- Supertypes
- Self type
-
SnakeCase.type
Members list
In this article