object CollationStrength
Collation support allows the specific configuration of how character cases are handled.
- Since
1.2
- Note
Requires MongoDB 3.4 or greater
- Alphabetic
- By Inheritance
- CollationStrength
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- î
final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef â Any
- î
final def ##: Int
- Definition Classes
- AnyRef â Any
- î
final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef â Any
- î
val IDENTICAL: CollationStrength
When all other levels are equal, the identical level is used as a tiebreaker.
When all other levels are equal, the identical level is used as a tiebreaker. The Unicode code point values of the NFD form of each string are compared at this level, just in case there is no difference at levels 1-4
- î
val PRIMARY: CollationStrength
Strongest level, denote difference between base characters
- î
val QUATERNARY: CollationStrength
When punctuation is ignored at level 1-3, an additional level can be used to distinguish words with and without punctuation.
- î
val SECONDARY: CollationStrength
Accents in characters are considered secondary differences
- î
val TERTIARY: CollationStrength
Upper and lower case differences in characters are distinguished at the tertiary level.
Upper and lower case differences in characters are distinguished at the tertiary level. The server default.
- î
final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- î
def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- î
final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- î
def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef â Any
- î
def fromInt(collationStrength: Int): Try[CollationStrength]
Returns the CollationStrength from the string value.
Returns the CollationStrength from the string value.
- collationStrength
the int value.
- returns
the read concern
- î
final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef â Any
- Annotations
- @IntrinsicCandidate() @native()
- î
def hashCode(): Int
- Definition Classes
- AnyRef â Any
- Annotations
- @IntrinsicCandidate() @native()
- î
final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- î
final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- î
final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- î
final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- î
final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- î
def toString(): String
- Definition Classes
- AnyRef â Any
- î
final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- î
final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- î
final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- î
def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
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: