DatabaseQuery::prepare()
Prepare and return a PDOStatement
Binds only the values that the SQL uses, since a query changed after its values were bound (i.e. a COUNT(*) made from a select with fulltext scores) may no longer use all of them, and PDO rejects a bound value that the statement does not use.
Usage
$pDOStatement = $databaseQuery->prepare();Return value
PDOStatement
DatabaseQuery methods and properties
API reference based on ProcessWire core version 3.0.275