[firestore] Shouldn't a start/end query cursor allow empty set?
See original GitHub issuevar anomaly = await firestoreDB.Value.Collection("col").OrderByDescending("field").StartAt(new object[0])
This above line cause an error does not allow empty set at a start/end query cursor
But doesn’t this should be allowed for query the empty array and null? Actually it should let me got the whole documents which has value of that field not an array nor object?
Is it really a limit in firestore or just this library?
Issue Analytics
- State:
- Created 5 years ago
- Comments:21
Top Results From Across the Web
Paginate data with query cursors | Firestore - Firebase
With query cursors in Cloud Firestore, you can split data returned by a query into batches according to the parameters you define in...
Read more >Firebase "read" rules executing even when no document is ...
The rules works ok if a read a single document using the firebase web client. But when querying and the result is empty,...
Read more >Query a Firestore collection with a cursor start at field ...
To authenticate to Firestore, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
Read more >Paginating data with query cursors | Firestore
Query cursors define the start and end points for a query, allowing you to: Return a subset of the data. Paginate query results....
Read more >Cloud Firestore
Start & End Cursors#. To start and/or end a query at a specific point within a collection, you can pass a value to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sure, happy to. (It’s effectively covered in the new conformance tests which I haven’t merged yet, but I can do it more explicitly.)
Just checked, and yes, it should be allowed. I’ll see if I can get to that this week.