gpt4 book ai didi

firebase - 火存储 : Bug in Index creation utility involving array fields

转载 作者:行者123 更新时间:2023-12-02 03:31:19 25 4
gpt4 key购买 nike

正在尝试 firestore array-contains 功能:

我有一个 projects 集合,其中包含一个数组字段 projectUsers

查询:

 db.collection('projects')
.where(`deleted`, '==', false)
.orderBy('lastUpdate','desc')
.where('projectUsers', 'array-contains', '56xxxxxxxxxxxxxxxxxxxxc9')
.get()
.then(function (doc) {

....
....
})

Firestore 立即向我提供了索引创建链接,引导我找到此内容: index creation screen

当我单击创建索引按钮时,没有任何反应!控制台显示以下错误:

code: 400
message: "Unknown Index field mode: MODE_UNSPECIFIED"
status: "INVALID_ARGUMENT"

最佳答案

收到谷歌的回复:

Thank you for the information provided. We have fixed this issue, it will be pushed by the end of next week. If you continue experiencing this issue after that, please let us know.

关于firebase - 火存储 : Bug in Index creation utility involving array fields,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51772516/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com