File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2236,7 +2236,7 @@ declare namespace Pipelines {
22362236 switchOn ,
22372237 getField ,
22382238 variable ,
2239- currentDocument
2239+ currentDocument ,
22402240 ifNull ,
22412241 coalesce
22422242 }
Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff 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,
You can’t perform that action at this time.
0 commit comments