Collation

io.github.zeal18.zio.mongodb.driver.model.Collation
final case class Collation(locale: Option[String], caseLevel: Option[Boolean], caseFirst: Option[CollationCaseFirst], strength: Option[CollationStrength], numericOrdering: Option[Boolean], alternate: Option[CollationAlternate], maxVariable: Option[CollationMaxVariable], normalization: Option[Boolean], backwards: Option[Boolean])

The options regarding collation support in MongoDB 3.4+

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Sets the alternate

Sets the alternate

Controls whether spaces and punctuation are considered base characters

Attributes

alternate

the alternate

def withBackwards(backwards: Boolean): Collation

Sets the backwards value

Sets the backwards value

Causes secondary differences to be considered in reverse order, as it is done in the French language

Attributes

backwards

the backwards value

Sets the collation case first value

Sets the collation case first value

Determines if Uppercase or lowercase values should come first

Attributes

caseFirst

the collation case first value

def withCaseLevel(caseLevel: Boolean): Collation

Sets the case level value

Sets the case level value

Turns on case sensitivity

Attributes

caseLevel

the case level value

def withLocale(locale: String): Collation

Sets the locale

Sets the locale

Attributes

locale

the locale

See also:

Sets the maxVariable

Sets the maxVariable

Attributes

maxVariable

the maxVariable

def withNormalization(normalization: Boolean): Collation

Sets the normalization value

Sets the normalization value

If true, normalizes text into Unicode NFD.

Attributes

normalization

the normalization value

def withNumericOrdering(numericOrdering: Boolean): Collation

Sets the numeric ordering

Sets the numeric ordering

Attributes

numericOrdering

if true will order numbers based on numerical order and not collation order

Sets the collation strength

Sets the collation strength

Attributes

strength

the strength

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product