Does $this->db->insert_batch(); insert with 1 table connection or does it insert each row separately incurring overhead of opening connections?
Does $this->db->insert_batch(); insert with 1 table connection or does it insert each row separately
Share
From the documentation of code igniter
insert_batchdo this kind of thingsSo it would produce only one query with all the values, normally this way faster then doing separate inserts.