mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Tue Mar 1 21:43:54 UTC 2022
This commit is contained in:
parent
c1c3b75313
commit
21878eea72
1018 changed files with 4838 additions and 3409 deletions
|
|
@ -25,9 +25,10 @@ EXAMPLES
|
|||
The following command lists the indexes of all fields with custom index
|
||||
settings:
|
||||
|
||||
$ gcloud firestore indexes fields list --format="table[box](\
|
||||
name,indexConfig.indexes:format='table[title=INDEXES,box](\
|
||||
fields.order.flatten(),fields.arrayConfig.flatten(),queryScope,state)')"
|
||||
$ gcloud firestore indexes fields list \
|
||||
--format="table[box](name,indexConfig.indexes:format='table[titl\
|
||||
e=INDEXES,box](fields.order.flatten(),fields.arrayConfig.flatten(),q\
|
||||
ueryScope,state)')"
|
||||
|
||||
FLAGS
|
||||
Collection group resource - Collection group of the index.
|
||||
|
|
|
|||
|
|
@ -20,16 +20,14 @@ EXAMPLES
|
|||
Events collection group, in which all indexes are disabled:
|
||||
|
||||
$ gcloud firestore indexes fields update timestamp \
|
||||
--collection-group=Events
|
||||
--disable-indexes
|
||||
--collection-group=Events --disable-indexes
|
||||
|
||||
The following command creates an exemption for the timestamp field in the
|
||||
Events collection group, in which the list of indexes is explicitly set to
|
||||
[ASCENDING, DESCENDING]:
|
||||
|
||||
$ gcloud firestore indexes fields update timestamp \
|
||||
--collection-group=Events \
|
||||
--index=order=ASCENDING \
|
||||
--collection-group=Events --index=order=ASCENDING \
|
||||
--index=order=DESCENDING
|
||||
|
||||
The following command clears the exemption on the timestamp field in the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue