Answer the question
In order to leave comments, you need to log in
How to apply lower in a database query for Russian characters?
SQLite3 database. There is a request.
Contract.where("lower(contractor) like :term or lower(subject_contract) like :term", term: "%#{term.mb_chars.downcase}%")
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question