Collation
public final class CollationCollation factory. CouchbaseLite provides two types of the Collation, ASCII and Unicode. Without specifying the COLLATE expression. Couchbase Lite will use the ASCII with case sensitive collation by default.
- 
                  
                  Creates an ASCII collation that will compare two strings by using binary comparison. DeclarationSwift static public func ascii() -> ASCIIReturn ValueThe ASCII collation. 
- 
                  
                  Creates a Unicode collation that will compare two strings by using Unicode Collation Algorithm. If the locale is not specified, the collation is Unicode-aware but not localized; for example, accented Roman letters sort right after the base letter (This is implemented by using the en_US locale.).DeclarationSwift static public func unicode() -> UnicodeReturn ValueThe Unicode collation. 
- 
                  
                  ASCII collation compares two strings by using binary comparison. See moreDeclarationSwift public final class ASCII: CollationProtocol
- 
                  
                  Unicode Collation that will compare two strings by using Unicode collation algorithm. If the locale is not specified, the collation is Unicode-aware but not localized; for example, accented Roman letters sort right after the base letter (This is implemented by using the See moreen_US locale).DeclarationSwift public final class Unicode: CollationProtocol
 Collation Class Reference
        Collation Class Reference