remove this
using get_many or get_many_by produce duplicate `deleted` = 0

if ($this->soft_delete && $this->_temporary_with_deleted !== TRUE)
{
    $this->_database->where($this->soft_delete_key, (bool)$this->_temporary_only_deleted);
}

since get_all already implement this method
to prevent duplidate `delted` = 0 in sql query.
Primary Key Guessing Implemented
Test Case Implement
Modify count_by and count_all to support soft deletes.
Merge pull request #148 from itguy614/master

Modify count_by and count_all to support soft deletes.
Merge pull request #143 from ronisaha/fetch_primary_key

Fetch primary key
Merge pull request #142 from kamote/master

Using get_many or get_many_by produce duplicate deleted = 0
Merge with the upstream project.