Welcome Guest, Not a member yet? Register   Sign In
Is this a LEFT join by default ?
#1

[eluser]cPage[/eluser]
Is this a LEFT join by default ?

Code:
function access($group_id)
{
  $this->db->select('*');
  $this->db->from('access');
  $this->db->join('groups', 'groups.id_group = access.group_id');
  $this->db->where('group_id',$group_id);
  $query = $this->db->get();
  return $query->result();
}


Messages In This Thread
Is this a LEFT join by default ? - by El Forum - 01-23-2013, 11:04 AM
Is this a LEFT join by default ? - by El Forum - 01-23-2013, 11:40 AM
Is this a LEFT join by default ? - by El Forum - 01-23-2013, 12:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB