| { | |
| "tests": [ | |
| { | |
| "description": "query: two Select clauses", | |
| "comment": "The last Select clause is the only one used.", | |
| "query": { | |
| "collPath": "projects/projectID/databases/(default)/documents/C", | |
| "clauses": [ | |
| { | |
| "select": { | |
| "fields": [ | |
| { | |
| "field": [ | |
| "a" | |
| ] | |
| }, | |
| { | |
| "field": [ | |
| "b" | |
| ] | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "select": { | |
| "fields": [ | |
| { | |
| "field": [ | |
| "c" | |
| ] | |
| } | |
| ] | |
| } | |
| } | |
| ], | |
| "query": { | |
| "select": { | |
| "fields": [ | |
| { | |
| "fieldPath": "c" | |
| } | |
| ] | |
| }, | |
| "from": [ | |
| { | |
| "collectionId": "C" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| } |