[BUG] sql LIKE a% recent commit breakage

Huhg. Thanks.. I was not sure if that would apply or not. I will change that right away. not a big deall. eh.. Thanks for responding! YAY!
 
Just to be clear ... in 3.1 we now have "begins", "ends" and "like" (or "contains") as conditions, and automatically add the %'s as you would expect, so if your value is 'foo' ...

BEGINS give you LIKE 'foo%'
ENDS gives you LIKE '%foo'
LIKE (or CONTAINS) gives you '%foo%'

So use one of those conditions, and don't provide your own %'s. If you need to search for a %, you can escape it, like "20\% of foo".

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top