EllisLab/CodeIgniter — Issue #563: Error in User Guide -> Active Record documentation
Author: starsinmypockets
Created: 2011-10-12 16:34:05+00:00
State: open

The code example for insert_batch() has the line:

$this->db->update_batch('mytable', $data);

I think this should be changed to:

$this->db->insert_batch('mytable', $data);