I want to get my data from database where one of my attribute was empty string instead of null....but my code return all data where NULL and empty string combined...here is my code
public function findAllPersons2(){
return $this->where('pi_person_type','3')
->where('pi_vendor_id','!=' , '')
->orderBy('pi_name', 'asc')
->get();
}