【问题标题】:Azure CosmosDB: enable dot notation for MongoDB APIAzure CosmosDB:为 MongoDB API 启用点表示法
【发布时间】:2018-09-05 15:19:52
【问题描述】:

我们正在使用 MongoDB API 将存储后端迁移到 Azure CosmosDB。我们注意到,使用点表示法查询数组值不会返回任何结果。

https://social.msdn.microsoft.com/Forums/security/en-US/3d156465-8f12-4920-baf3-96dd1f5c8e91/query-array-value-with-mongodb-client?forum=azurecosmosdb 中所述,默认情况下禁用点符号。

有没有办法使用 Azure 门户或 CLI 客户端启用它?

【问题讨论】:

  • 这里使用 Azure Germany 作为环境可能是个问题。我联系了支持人员。

标签: mongodb azure azure-cosmosdb


【解决方案1】:

对于 2017 年 8 月之后创建的所有帐户,默认情况下应启用数组上的“点符号”。

【讨论】:

  • @ozan,Mike 的回答是你想要的吗?
猜你喜欢
  • 1970-01-01
  • 2020-03-05
  • 2021-04-30
  • 2020-12-16
  • 1970-01-01
  • 2019-08-26
  • 2017-10-15
  • 2018-03-02
  • 1970-01-01
相关资源
最近更新 更多