$this->
initialize();
} /**
* @var Query $query
*/
$query =
new $queryClass($this);
$query->
setQuery($sql,
$binds,
$setEscapeFlags);
if (!
empty($this->swapPre
) && !
empty($this->DBPrefix
)) { $query->
swapPrefix($this->DBPrefix,
$this->swapPre
);
} $startTime =
microtime(true
);
// Always save the last query so we can use
// the getLastQuery() method.
$this->lastQuery =
$query;
// If $pretend is true, then we just want to return
// the actual query object here. There won't be
// any results to return.