You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Those functions have deal with parametrized queries in query argument, e.g.:
SELECT docid FROM my_index WHERE MATCH(?)
with match_clause='Something&interesting' will be executed as:
SELECT docid FROM my_index WHERE MATCH('Something&interesting')
Full example:
SELECT * FROM sphinx_query('conn', 'SELECT docid FROM my_index WHERE MATCH(?)', 'Something&interesting') AS ss (docid integer); SELECT * FROM sphinx_query_params('127.0.0.1', 9306, 'SELECT docid FROM my_index WHERE MATCH(?)', 'Something&interesting') AS ss (docid integer);