Firestore: How to get random documents in a collection
问题 It is crucial for my application to be able to select multiple documents at random from a collection in firebase. Since there is no native function built in to Firebase (that I know of) to achieve a query that does just this, my first thought was to use query cursors to select a random start and end index provided that I have the number of documents in the collection. This approach would work but only in a limited fashion since every document would be served up in sequence with its