resetWhere() public method

Deletes all the WHERE conditions in the current command.
public resetWhere ( ) : true
return true
Exemplo n.º 1
0
 /**
  * Deletes all the WHERE and BETWEEN conditions in the current SELECT.
  *
  * @return true
  */
 public function resetWhere()
 {
     parent::resetWhere();
     $this->clearToken('Between');
     return true;
 }