this is a tip how to perform case insensitive search, tried on postgresql and sqlite databse, all worked.