@@ -1854,28 +1854,6 @@ abstract class Expr internal constructor() {
18541854 fun mapGet (fieldName : String , keyExpression : Expr ): Expr =
18551855 FunctionExpr (" map_get" , evaluateMapGet, fieldName, keyExpression)
18561856
1857- /* *
1858- * Accesses a value from a map (object) field using the provided [keyExpression].
1859- *
1860- * @param mapExpression The expression representing the map.
1861- * @param keyExpression The key to access in the map.
1862- * @return A new [Expr] representing the value associated with the given key in the map.
1863- */
1864- @JvmStatic
1865- fun mapGet (mapExpression : Expr , keyExpression : Expr ): Expr =
1866- FunctionExpr (" map_get" , mapExpression, keyExpression)
1867-
1868- /* *
1869- * Accesses a value from a map (object) field using the provided [keyExpression].
1870- *
1871- * @param fieldName The field name of the map field.
1872- * @param keyExpression The key to access in the map.
1873- * @return A new [Expr] representing the value associated with the given key in the map.
1874- */
1875- @JvmStatic
1876- fun mapGet (fieldName : String , keyExpression : Expr ): Expr =
1877- FunctionExpr (" map_get" , fieldName, keyExpression)
1878-
18791857 /* *
18801858 * Creates an expression that merges multiple maps into a single map. If multiple maps have the
18811859 * same key, the later value is used.
@@ -2677,25 +2655,6 @@ abstract class Expr internal constructor() {
26772655 fun array (elements : List <Any ?>): Expr =
26782656 FunctionExpr (" array" , evaluateArray, elements.map(::toExprOrConstant).toTypedArray())
26792657
2680- /* *
2681- * Creates an expression that creates a Firestore array value from an input array.
2682- *
2683- * @param elements The input array to evaluate in the expression.
2684- * @return A new [Expr] representing the array function.
2685- */
2686- @JvmStatic
2687- fun array (vararg elements : Any? ): Expr =
2688- FunctionExpr (" array" , elements.map(::toExprOrConstant).toTypedArray<Expr >())
2689-
2690- /* *
2691- * Creates an expression that creates a Firestore array value from an input array.
2692- *
2693- * @param elements The input array to evaluate in the expression.
2694- * @return A new [Expr] representing the array function.
2695- */
2696- @JvmStatic
2697- fun array (elements : List <Any ?>): Expr =
2698- FunctionExpr (" array" , elements.map(::toExprOrConstant).toTypedArray())
26992658 /* *
27002659 * Creates an expression that concatenates an array with other arrays.
27012660 *
0 commit comments