![]() |
junction table join? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: junction table join? (/showthread.php?tid=82681) |
junction table join? - bikebetty - 08-08-2022 I have a junction table. I want to make a datatable. I did this with other tables and I created a join but can I do this with a large junction table? RE: junction table join? - SubrataJ - 08-08-2022 (08-08-2022, 08:19 PM)bikebetty Wrote: I have a junction table. I want to make a datatable. I did this with other tables and I created a join but can I do this with a large junction table? Obviously, you can do that with the correct query. RE: junction table join? - bikebetty - 08-09-2022 (08-08-2022, 10:32 PM)SubrataJ Wrote:(08-08-2022, 08:19 PM)bikebetty Wrote: I have a junction table. I want to make a datatable. I did this with other tables and I created a join but can I do this with a large junction table? Can you show me how or lead me to a place where I can learn? RE: junction table join? - SubrataJ - 08-09-2022 (08-09-2022, 06:48 AM)bikebetty Wrote:(08-08-2022, 10:32 PM)SubrataJ Wrote:(08-08-2022, 08:19 PM)bikebetty Wrote: I have a junction table. I want to make a datatable. I did this with other tables and I created a join but can I do this with a large junction table? I don't know about your table structure, if we could provide it, I will be more than happy to assist. RE: junction table join? - bikebetty - 08-09-2022 (08-09-2022, 08:36 AM)SubrataJ Wrote:(08-09-2022, 06:48 AM)bikebetty Wrote:(08-08-2022, 10:32 PM)SubrataJ Wrote:(08-08-2022, 08:19 PM)bikebetty Wrote: I have a junction table. I want to make a datatable. I did this with other tables and I created a join but can I do this with a large junction table? PHP Code: id agricultural_operation_address_id property_owner_address_id agricultural_operation_owner_address_id operator_address_id wqpp_id creation_date started_date finished_date last_edit_date current_step current_address_index current_operation_details_index current_parcel_index current_wqpp_index current_map_index user_id is_active started finished prepaired_by groundwater_wells_used_for_drinking_water groundwater_monitoring_by has_waterbodies_located_within_100_feet waterbodies_located_within_100_feet has_waterbody_pass_through_or_exist_on waterbody_pass_through_or_exist_on has_irrigation_return_flow_or_storm_water_discharged user_agent pdf_emailed_date active Code: public function get_all_invoices(){ |