Closed eafarooqi closed 3 years ago
$data = $this->meetingModel->with('teams')->find(30); print_r($data->teams);
This prints only one record but in database two rows exists. same case with other models and entities. the firs row is always removed or not queried.
Sorry! Nothing to do with codeigniter4-relations
$data = $this->meetingModel->with('teams')->find(30); print_r($data->teams);
This prints only one record but in database two rows exists. same case with other models and entities. the firs row is always removed or not queried.