CodeIgniter icon indicating copy to clipboard operation
CodeIgniter copied to clipboard

Online Documentation Error

Open cityzen opened this issue 15 years ago • 1 comments

In the online documentation for Active Record, the example for $this->db->insert_batch() says:

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

// Produces: INSERT INTO mytable (title, name, date) VALUES ('My title', 'My name', 'My date'), ('Another title', 'Another name', 'Another date')

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

cityzen avatar Sep 14 '11 20:09 cityzen

Thanks for the heads up. We have a pull request for this here - https://github.com/EllisLab/CodeIgniter/pull/448

I will go ahead and close this as a duplicate.

ericlbarnes avatar Sep 17 '11 04:09 ericlbarnes