Perform any needed actions just prior to the query executing.
public function preExecute(&$query) { }