Foreign key select failed
public $foreign_keys=array('location_id'=>array(FUEL_FOLDER=>'store_locations_model', 'where'=>'level>0'));
was trying to find all store locations with level >0 , but the above query failed. I also looked into CI active record examples such as
$this->db->where('name !=', $name);
$this->db->where('id <', $id);
but dont think it is same syntax
Comments