| 7 database.inc | public DatabaseStatementInterface::getQueryString() |
Gets the query string of this statement.
Return value
The query string, in its form with placeholders.
File
- includes/
database/ database.inc, line 1943 - Core systems for the database layer.
Code
public function getQueryString();
Login or register to post comments
Comments
Is there a way to get the computed query output?
It'd be nice if this function could be updated or if another could be added that would return the query string with the argument parameters inserted in place so I can see what the query actually is when it hits the DB server and can potentially rerun it in phpmyadmin for debugging purposes.
You can use dpq() if you have
You can use dpq() if you have Devel installed.