public function truncate()
    {
        if ($this->fake) {
            return $this->fake->truncate();
        }
        $pattern = 'TRUNCATE TABLE ?t';
        $data = array($this->name);
        $this->db->query($pattern, $data);
    }
public function truncate()
    {
        if ($this->fake) {
            return $this->fake->truncate();
        }
        $pattern = 'TRUNCATE TABLE ?t';
        $data = array($this->name);
        $this->db->query($pattern, $data);
    }
public function truncate ( ) { if ( $ this -> fake ) { return $ this -> fake -> truncate ( ) ; } $ pattern = 'TRUNCATE TABLE ?t' ; $ data = array ( $ this -> name ) ; $ this -> db -> query ( $ pattern , $ data ) ; }
Truncates the table
Truncates the table