kyledye/MongoDB-CodeIgniter-Driver — Issue #14: insert method has bug.
Author: ruwin126
Created: 2011-12-04 07:09:41+00:00
State: open

When I call insert, and data have been written successfully.
But insert method dosen't set $insert, So it always returns FALSE.
In my opinion, it should return object id of inserted record.

I tried to return result of "$this->db->{$collection}->insert($data, array('fsync' => TRUE))".
But it has not object id, nor key that is named '_id'.