-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: API
-
None
With eval being deprecated and to be removed, using db.eval("db.getReplicationInfo()") will fail.
Supporting getReplicationInfo as a db.command (or db.adminCommand) would be beneficial instead of needing to basically rewrite the current function for each project.