-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfirestore.indexes.json
More file actions
35 lines (35 loc) · 871 Bytes
/
firestore.indexes.json
File metadata and controls
35 lines (35 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"indexes": [
{
"collectionGroup": "posts",
"queryScope": "COLLECTION",
"fields": [
{ "fieldPath": "published", "order": "ASCENDING" },
{ "fieldPath": "createdAt", "order": "DESCENDING" }
]
},
{
"collectionGroup": "comments",
"queryScope": "COLLECTION",
"fields": [
{ "fieldPath": "parentId", "order": "ASCENDING" },
{ "fieldPath": "createdAt", "order": "DESCENDING" }
]
},
{
"collectionGroup": "replies",
"queryScope": "COLLECTION",
"fields": [
{ "fieldPath": "parentId", "order": "ASCENDING" },
{ "fieldPath": "createdAt", "order": "DESCENDING" }
]
},
{
"collectionGroup": "hearts",
"queryScope": "COLLECTION",
"fields": [
{ "fieldPath": "heartId", "order": "ASCENDING" }
]
}
]
}