I know that q.bindValue(laceholder, stringvar) will escape stringvar, but what I need is like escaped_str = mysql_real_escape_string(string) so that I can escape myself.


Any hints as to how to approach this problem ?