Cosmos Mongo API“输入"数组表达式问题 [英] Cosmos Mongo API "In" Array expression issue

查看:36
本文介绍了Cosmos Mongo API“输入"数组表达式问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IN表达式是否存在问题? 我们遇到的问题是,即使存在,也无法找到我们想要的结果?

Are there issues with the IN expression? We are having issues where it doesn't find the results we are asking for even though it exists?

{"SerialNumber":"V8073023","_t":"DeviceEventDataEvent","EventType":NumberInt(4),"isDeleted":{$ in:[false,null]},"EventNumber":122} 正确返回文档,但是在使用IN时

{ "SerialNumber": "V8073023", "_t": "DeviceEventDataEvent", "EventType": NumberInt(4), "isDeleted": { $in: [false,null] }, "EventNumber": 122 } Returns the document correctly, however when using IN

{"SerialNumber":"V8073023","_t":"DeviceEventDataEvent","EventType":NumberInt(4),"isDeleted":{$ in:[false,null]},"EventNumber":{$于:[122]}} 没有数据返回.

{ "SerialNumber": "V8073023", "_t": "DeviceEventDataEvent", "EventType": NumberInt(4), "isDeleted": { $in: [false,null] }, "EventNumber": { $in: [122] } } No data is returned.

推荐答案

Microsoft回到我身边,发出他们的声音.感谢参与其中的每个人.

Microsoft got back to me, issue their side. Thanks to everyone involved for still assisting.

感谢David报告此事! 我调查了这个问题,这是我们这边出现的一个错误,在多种情况下都会出现.我已经对其进行了修复,并将在下周末进行检查(这取决于我们的部署周期,才能将该修复程序传播到世界各地的所有数据中心). 如果您有无法使用的查询并阻止了您,请告诉我. 最好的祝福, 奥雷斯蒂斯(Orestis)

Thank you David for reporting this! I investigated the issue, it’s a bug on our side manifesting under a combination of conditions. I already have made a fix for it and will check it in by end of week (then it’s up to our deployment cycle to propagate the fix to all datacenters around the world). Let me know if you have queries that don’t work and are blocking you. Best regards, Orestis

这篇关于Cosmos Mongo API“输入"数组表达式问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆