Function servers::mysql::helper::replace_placeholders

source ·
pub fn replace_placeholders(query: &str) -> (String, usize)
Expand description

Replace all the “?” placeholder into “$i” in SQL, returns the new SQL and the last placeholder index.