How to perform Different Types of SQL JOINs in Codeigniter

sachin
edited June 2021 in Codeigniter


Tagged:

Best Answer

  • sachin
    Accepted Answer

    Table join for options like: left, right, outer, inner, left outer, and right outer via the third parameter of the function.

    $this->db->join('comments', 'comments.id = blogs.id', 'left/right/outer/inner/left outer/right outer');
    


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!