Hey, I am trying to create a system to match wildcard domain names. Although the query above will work for me is it possible to index it at all?
I don't have access to the DB to do any clever stuff as I am using Heroku to host my app but I can add indexes easy enough?
Thanks!
Edit:
I would like to match wildcard domain names in my database. So I have a table with a column called domain_name and this can contain something like '%.example.com' to match if I pass in x.example.com or hello.example.com as an input parameter.