How to compare values with case-insensitive in Quill?
I created a Quill query, which should find some data in database by given parameter:
val toFind = "SomeName"
val query = query.find(value => infix"$value = ${lift(toFind)}".as[Boolean])
It works fine when, for example, I have data in database "SomeName". However, if I want to have same results by passing "somename" I found nothing. The problem is with data case-sensitive.
Is it possible to always find values with case-insensitive way? I have not found anything about it in the Quill docs.