-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 7.1.0
-
Component/s: None
-
None
MongoDB allows customers to store javascript functions on the server in a system collection called system.js.
The functions customer stored within the system.js collection could be used within aggregations and queries such as mapReduce and $where respectively.
Starting in MongoDB 5.0 mapReduce is deprecated in favor of an aggregation pipeline and for $where alternatives such as $expr are preferred due to better performance.
System.js should be deprecated as the native built-in capabilities of the aggregation framework have increased and $function exists if custom expressions are needed.
- is depended on by
-
SERVER-82802 Enable system.js functionality when collection lives outside DBPrimary
- Closed
- related to
-
SERVER-64476 system.js fails to work seamlessly in sharded collections
- Closed
-
SERVER-91002 Remove System.JS functionality
- Backlog