如何列出Firestore中的所有单字段索引?

huangapple go评论49阅读模式
英文:

How to list all the single field indexes in Firestore?

问题

最近,我开始创建单字段豁免以减少我的项目中的Firestore存储。

它按预期运行,但我想查看所有自动创建的索引。有没有办法?

英文:

Recently, I started to create single field exemptions to reduce the Firestore storage for my project.

It works as expected, but I want to see all automatically created indexes. Is there any way?

答案1

得分: 0

我迅速检查了Firestore控制台(无论是在Firebase还是Google Cloud中),但没有看到自动创建的单字段索引的列表。

甚至REST APIgcloud CLI似乎只显示了例外情况,就像控制台一样。

据我所知,目前似乎没有办法获取所有索引的列表。

英文:

I quickly checked the Firestore console (both in Firebase and Google Cloud) and don't see a list of the automatically created single-field indexes there.

Even the REST API and the gcloud CLI seem to only show the exemptions, just like the console does.

So as far as I can tell, there is no way to get a list of all indexes.

huangapple
  • 本文由 发表于 2023年2月14日 21:26:40
  • 转载请务必保留本文链接:https://go.coder-hub.com/75448512.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定