stephencelis/SQLite.swift
Like does not work with Russian symbols? (ICU support)
開放
#1,025 建立於 2020年10月8日
help wantedquestion
倉庫指標
- 星標
- (10,145 顆星)
- PR 合併指標
- (平均合併 6天 17小時) (30 天內合併 4 個 PR)
描述
Hello. I use like with lowercaseString and Russian symbols but LOWER doesn't convert them to lowercase in the query. I tried to create my own function but it didn't work for me. How to solve this problem? Thanks.
// in name value: ПРИВЕТ from database let search_name = "Привет" user.filter(name.lowercaseString.like("%" + search_name.lowercased() + "%"))