how to use SQL wildcard % with Queryset extra>select?
- by tylias
I'm trying to add weights to search terms I'm using to filter a queryset. Using the '%' wildcard is causing me some problems.
I'm using the extra() modifier to add a weight parameter to the queryset, which I will be using to inform a sort ordering.
(See…