{ | |
"tests": [ | |
{ | |
"description": "query: EndBefore with empty values", | |
"comment": "Cursor methods are not allowed to use empty values with EndBefore. It should result in an error.", | |
"query": { | |
"collPath": "projects/projectID/databases/(default)/documents/C", | |
"clauses": [ | |
{ | |
"orderBy": { | |
"path": { | |
"field": [ | |
"a" | |
] | |
}, | |
"direction": "asc" | |
} | |
}, | |
{ | |
"endBefore": {} | |
} | |
], | |
"isError": true | |
} | |
} | |
] | |
} |