File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
firebase-firestore/src/main/java/com/google/firebase/firestore Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -504,15 +504,15 @@ private constructor(
504
504
/* *
505
505
* Performs a pseudo-random sampling of the input documents.
506
506
*
507
- * The [documents ] parameter represents the target number of documents to produce and must be a
507
+ * The [count ] parameter represents the target number of documents to produce and must be a
508
508
* non-negative integer value. If the previous stage produces less than size documents, the entire
509
509
* previous results are returned. If the previous stage produces more than size, this outputs a
510
510
* sample of exactly size entries where any sample is equally likely.
511
511
*
512
- * @param documents The number of documents to emit.
512
+ * @param count The number of documents to emit.
513
513
* @return A new [Pipeline] object with this stage appended to the stage list.
514
514
*/
515
- fun sample (documents : Int ): Pipeline = append(SampleStage .withCount(documents ))
515
+ fun sample (count : Int ): Pipeline = append(SampleStage .withCount(count ))
516
516
517
517
/* *
518
518
* Performs a pseudo-random sampling of the input documents.
You can’t perform that action at this time.
0 commit comments