protected function deleteLinked($code)
    {
        $this->db->delete('city', array('country' => $code));
        $this->db->delete('state', array('country' => $code));
    }
protected function deleteLinked($code)
    {
        $this->db->delete('city', array('country' => $code));
        $this->db->delete('state', array('country' => $code));
    }
protected function deleteLinked ( $ code ) { $ this -> db -> delete ( 'city' , array ( 'country' => $ code ) ) ; $ this -> db -> delete ( 'state' , array ( 'country' => $ code ) ) ; }
Deletes all database records related to the country
@param string $code
Deletes all database records related to the country