fluentpdo
fluentpdo copied to clipboard
getQuery + paramiters in string
Hello everyone, it is possible to get the query string from
->getQuery() SELECT tbl.* FROM tbl WHERE email = ? AND password = ?
and parameters in the string like this
SELECT tbl.* FROM tbl WHERE email = "[email protected]" AND password = "!12345679";
Thank you Stefano
I'm not sure why you'd want this? The query executed contains the question marks, not quoted values like the second example.
str_replce (? to %s Or %d) & vsprintf
I'm not sure why you'd want this? The query executed contains the question marks, not quoted values like the second example.
After all, is there any way to return the values instead of returning "?"