Skip to content

Commit a183586

Browse files
milaGGLthiyaguk09
authored andcommitted
update js docs
1 parent f83b4a2 commit a183586

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ export abstract class Expression
652652
* @example
653653
* ```typescript
654654
* // Filter "scores" to include only values greater than 50
655-
* field("scores").arrayFilter("score", variable("score").greaterThan(50));
655+
* field("scores").arrayFilter("score", greaterThan(variable("score"), 50));
656656
* ```
657657
*
658658
* @param alias The variable name to use for each element.
@@ -705,7 +705,7 @@ export abstract class Expression
705705
* @param elementAlias The variable name to use for each element.
706706
* @param indexAlias The variable name to use for the current index.
707707
* @param transform The lambda expression used to transform the elements.
708-
* @returns A new `Expression` representing the arrayTransform operation.
708+
* @returns A new `Expression` representing the arrayTransformWithIndex operation.
709709
*/
710710
arrayTransformWithIndex(
711711
elementAlias: string,

0 commit comments

Comments
 (0)