update to rawCollection().createIndex() over meteor _ensureIndex
Closed this issue · 3 comments
Pushplaybang commented
Hey there,
Should we update to use the documented rawCollection().createIndex()
rather than the undocumented meteor method ._ensureIndex()
?
faisalhasnain commented
@aldeed If you can update, it would be great. It would be a small change.
aldeed commented
@Pushplaybang @faisalhasnain Is there some reason to do this now other than because relying on private props is discouraged in general? I ask because this works, has always worked, and will likely work for a long time, and as far as I can tell, the documented functions are not synchronous.
I would like to change it but I'd just have to reimplement that Futures code.
StorytellerCZ commented
Updating to use the official Metoer API.