given the following MongoDB document:
给定以下MongoDB文档:
{
"d" : [
{
"h" : [ ]
},
{
"h" : [
BinData(0,"..."),
BinData(0,"...")
]
}]
}
I want to transform this data that the "d" property contains only 1 BinData that holds the concatenation of the current model.
我想转换这个数据,“d”属性只包含1个BinData,它保存了当前模型的连接。
{
"d" : BinData(0,"<concatenation of the above>")
}
Can somebody help me, how to do that?
有人能帮我吗,怎么做?
btw: I would like to avoid client side JS code due to performance consideration -- if possible
btw:出于性能考虑,我希望避免客户端JS代码——如果可能的话
更多回答
优秀答案推荐
我是一名优秀的程序员,十分优秀!