stephencelis/SQLite.swift

Like does not work with Russian symbols? (ICU support)

Open

#1.025 aberto em 8 de out. de 2020

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)Swift (1.618 forks)batch import
help wantedquestion

Métricas do repositório

Stars
 (10.145 stars)
Métricas de merge de PR
 (Mesclagem média 6d 17h) (4 fundiu PRs em 30d)

Description

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() + "%"))

Guia do colaborador