CodeIgniter join query example

CodeIgniter join query example

In this example, we will discuss about how to use Join query in the CodeIgniter framework(CodeIgniter join query example). what Join Query? if you need two or more tables data then we can easily get data using the Join query.

join query is the specific type available like left join, right join, outer join, inner join, left outer join, and right outer join.

Join query in codeigniter
The join query method is used to fetch data into two or more tables.

Left join query in codeigniter
The left join query method is used to return all rows data into the left table and return the equal rows of data into the right table.

Right join query in codeigniter
The right join query method is used to return all rows data into the right table and return the equal rows data into the left table.

Inner join query in codeigniter
The Inner join query method is used to return matching rows data into both tables.

Outer join query in codeigniter
The Outer join query method is used to return all rows data into both tables.

Left outer join query in codeigniter
The left outer join query method is used to return all rows data into the left table and return the equal rows of data into the right table.

Right outer join query in codeigniter
The right outer join query method is used to return all rows data into the right table and return the equal rows of data into the left table.

Please follow and like us: