IndexConfiguration interface

此 API 作為開發人員預覽版提供,可能會根據我們收到的回饋進行更改。不要在生產環境中使用此 API。

不要手動建立快取索引,而是考慮使用enablePersistentCacheIndexAutoCreation()讓 SDK 決定是否為本機執行的查詢建立快取索引。

用於加速本機查詢執行的 Firestore 索引清單。

有關索引定義格式的說明,請參閱JSON 格式

簽名:

export declare interface IndexConfiguration 

特性

財產類型描述
索引指數[] (測試版)所有 Firestore 索引的清單。

IndexConfiguration.indexes

此 API 作為開發人員預覽版提供,可能會根據我們收到的回饋進行更改。不要在生產環境中使用此 API。

所有 Firestore 索引的清單。

簽名:

readonly indexes?: Index[];