Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我有一个字符串数组和一个映射(我最终可以序列化为 JSON),我如何调用 db.system.js 中接受数组和字典的 javascript 函数函数存储?
db.Run(bson.M{"eval": "myStoredFunction(<MY ARRAY>, <MY DICTIONARY>);"})