Instance Propertymongokitten 7.9.5MongoCore
alternate
Whether whitespace and punctuation are considered base characters
Collation.swift:73var alternate: String?
Other members in extension
Types
enum Alternate
Whether whitespace and punctuation are considered base characters
enum CaseFirstOptions
enum MaxVariable
Determines which characters are considered ignorable when the alternate is shifted.
enum Strength
Defines the level of comparison between two characters
Type members
Instance members
var backwards: Bool?
Considers secondary differences in reverse order
var caseFirst: CaseFirstOptions?
Sorts differences on a tertiary level
var caseLevel: Bool?
If
true
, the text is compared case sensitivevar locale: String
The ICU locale. Defaults to ‘simple’ for binary comparison.
var maxVariable: String?
Determines which characters are considered ignorable when the alternate is shifted.
var normalization: Bool?
Normalized text into Unicode NFD Read on Wikipedia
var numericOrdering: Bool?
Determines whether to compare numeric strings as nummers or as Strings
var strength: Int?
Defines the level of comparison between two characters