$this->db->insert_ignore()

Inserts into a table, silently fails if there would be a key violation

$this->db->insert_ignore('mytable', $data)

Use is exactly the same as $this->db->insert()

Added 2 April 2021