Collation class
Collation allows users to specify language-specific rules for string comparison, such as rules for lettercase and accent marks.
Reference
See https://pkg.go.dev/go.mongodb.org/mongo-driver@v1.10.3/mongo/options#Collation.
Constructors
Properties
- alternate → String
-
Whether spaces and punctuation are considered base characters
final
- backwards → bool
-
Causes secondary differences to be considered in reverse order, as it is
done in the French language
final
- caseFirst → String
-
The case ordering
final
- caseLevel → bool
-
The case level
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- locale → String
-
The locale
final
- maxVariable → String
-
Which characters are affected by alternate: "shifted"
final
- normalization → bool
-
Causes text to be normalized into Unicode NFD
final
- numericOrdering → bool
-
Whether to order numbers based on numerical order and not collation order
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strength → int
-
The number of comparison levels to use
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toProto(
) → Collation -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited