且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在MongoDB Map-reduce映射函数中使用变量

更新时间:2023-01-16 07:39:27

您可以使用map-reduce命令上的"scope"参数将全局只读数据传递到map-reduce函数中.恐怕它没有很好的记录.

You can pass global, read-only data into map-reduce functions using the "scope" parameter on the map-reduce command. It's not very well documented, I'm afraid.