Skip to content

Commit

Permalink
new index format
Browse files Browse the repository at this point in the history
  • Loading branch information
ryzizub committed Oct 6, 2019
1 parent f8a7425 commit 8141c6d
Showing 1 changed file with 32 additions and 8 deletions.
40 changes: 32 additions & 8 deletions firestore.indexes.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,47 @@
{
"indexes": [
{
"collectionId": "partners",
"collectionGroup": "partners",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "self", "mode": "ASCENDING",
"fieldPath": "order", "mode": "ASCENDING",
"fieldPath": "top", "mode": "ASCENDING"
"fieldPath": "self",
"order": "ASCENDING"
},
{
"fieldPath": "order",
"order": "ASCENDING"
}
]
},
{
"collectionId": "teamMembers",
"collectionGroup": "partners",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "position", "mode": "ASCENDING",
"fieldPath": "order", "mode": "ASCENDING"
"fieldPath": "top",
"order": "ASCENDING"
},
{
"fieldPath": "order",
"order": "ASCENDING"
}
]
},
{
"collectionGroup": "teamMembers",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "position",
"order": "ASCENDING"
},
{
"fieldPath": "order",
"order": "ASCENDING"
}
]
}
]
],
"fieldOverrides": []
}

0 comments on commit 8141c6d

Please sign in to comment.