File tree Expand file tree Collapse file tree
handwritten/firestore/dev/src/pipelines Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments