The class is using the now deprecated ensureIndex() function. I noticed this when adding the role, ensureIndex isn't included in the read/write db role.
createIndex should be used for mongo > 1.5.0, and ensureindex should be used for previous versions.
The class is using the now deprecated ensureIndex() function. I noticed this when adding the role, ensureIndex isn't included in the read/write db role.
createIndex should be used for mongo > 1.5.0, and ensureindex should be used for previous versions.