Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
Description
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.