Mysql
 sql >> Database >  >> RDS >> Mysql

Codeigniter Unisciti con condizioni multiple

Prova questo

$this->db
  ->select('*')
  ->from('clients')
  ->join('users', 'users.id = clients.a_1 OR users.id=clients.a_2 OR users.id = clients.a_3');

$query = $this->db->get();

return $query->result();