Skip to content

Commit 71933e5

Browse files
committed
update js docs
1 parent da46223 commit 71933e5

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

handwritten/firestore/api-report/firestore.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2236,7 +2236,7 @@ declare namespace Pipelines {
22362236
switchOn,
22372237
getField,
22382238
variable,
2239-
currentDocument
2239+
currentDocument,
22402240
ifNull,
22412241
coalesce
22422242
}

handwritten/firestore/dev/src/pipelines/expression.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ export abstract class Expression
617617
* @example
618618
* ```typescript
619619
* // Filter "scores" to include only values greater than 50
620-
* field("scores").arrayFilter("score", variable("score").greaterThan(50));
620+
* field("scores").arrayFilter("score", greaterThan(variable("score"), 50));
621621
* ```
622622
*
623623
* @param alias The variable name to use for each element.
@@ -670,7 +670,7 @@ export abstract class Expression
670670
* @param elementAlias The variable name to use for each element.
671671
* @param indexAlias The variable name to use for the current index.
672672
* @param transform The lambda expression used to transform the elements.
673-
* @returns A new `Expression` representing the arrayTransform operation.
673+
* @returns A new `Expression` representing the arrayTransformWithIndex operation.
674674
*/
675675
arrayTransformWithIndex(
676676
elementAlias: string,

handwritten/firestore/types/firestore.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3635,7 +3635,7 @@ declare namespace FirebaseFirestore {
36353635
* @example
36363636
* ```typescript
36373637
* // Filter "scores" to include only values greater than 50
3638-
* field("scores").arrayFilter("score", variable("score").greaterThan(50));
3638+
* field("scores").arrayFilter("score", greaterThan(variable("score"), 50));
36393639
* ```
36403640
*
36413641
* @param alias The variable name to use for each element.
@@ -3676,7 +3676,7 @@ declare namespace FirebaseFirestore {
36763676
* @param elementAlias The variable name to use for each element.
36773677
* @param indexAlias The variable name to use for the current index.
36783678
* @param transform The lambda expression used to transform the elements.
3679-
* @returns A new `Expression` representing the arrayTransform operation.
3679+
* @returns A new `Expression` representing the arrayTransformWithIndex operation.
36803680
*/
36813681
arrayTransformWithIndex(
36823682
elementAlias: string,

0 commit comments

Comments
 (0)