Closed jakewhelan closed 1 year ago
I'm trying to do this:
SELECT * FROM foo WHERE bar LIKE '%$bar%'
Is this supported?
The query doesn't work basically, it matches nothing - so I am assuming $bar isn't being interpolated into that string.
$bar
I was able to achieve the same thing like this:
SELECT * FROM foo WHERE position($bar in bar) > 0
I'm trying to do this:
Is this supported?
The query doesn't work basically, it matches nothing - so I am assuming
$bar
isn't being interpolated into that string.