AND, after all the searchings on google, I found out that the effective way to perform case insensitive search is to create a lower-case slug when creating an object. Then I could easily use prisma-client’s
contains
to do what I want!
Just for you guys’ reference if anyone is trying something like me.