[SERVER-2936] Ability to store JavaScript libraries server-side Created: 12/Apr/11 Updated: 25/Oct/21 Resolved: 25/Oct/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Andy Gregorowicz | Assignee: | Geert Bosch |
| Resolution: | Won't Do | Votes: | 20 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
It would be nice to have the ability to store JavaScript libraries server-side for use in MapReduce jobs or aggregation queries. While the system.js collection is handy for storing functions, it does not seem capable of handling a full library like the Underscore.js. |
| Comments |
| Comment by Sean Fao [ 06/Mar/14 ] |
|
Is there still interest in developing this feature? It doesn't seem to be getting a lot of attention, but I think it would be incredibly helpful. |
| Comment by Ariel Jakobovits [ 07/Sep/12 ] |
|
Yes! Great idea. |
| Comment by Mathias Kluba [ 07/Sep/12 ] |
|
Loading a JS file thanks to db.system.js is possible (but we have to store it in all shards). |