PascalCase

reactivemongo.api.bson.FieldNaming$.PascalCase$
object PascalCase extends FieldNaming

For each class property, use the pascal case equivalent to name its field (e.g. fooBar -> FooBar).

import reactivemongo.api.bson.{ FieldNaming, MacroConfiguration }

val cfg: MacroConfiguration =
 MacroConfiguration(fieldNaming = FieldNaming.PascalCase)

Attributes

Graph
Supertypes
trait String => String
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def apply(property: String): String

Returns the field name for the class property.

Returns the field name for the class property.

Attributes

property

the name of the case class property

Inherited methods

def andThen[A](g: String => A): T1 => A

Attributes

Inherited from:
Function1
def compose[A](g: A => String): A => R

Attributes

Inherited from:
Function1

Concrete fields

override val toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.