@@ -1854,28 +1854,6 @@ abstract class Expr internal constructor() {
1854
1854
fun mapGet (fieldName : String , keyExpression : Expr ): Expr =
1855
1855
FunctionExpr (" map_get" , evaluateMapGet, fieldName, keyExpression)
1856
1856
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
-
1879
1857
/* *
1880
1858
* Creates an expression that merges multiple maps into a single map. If multiple maps have the
1881
1859
* same key, the later value is used.
@@ -2677,25 +2655,6 @@ abstract class Expr internal constructor() {
2677
2655
fun array (elements : List <Any ?>): Expr =
2678
2656
FunctionExpr (" array" , evaluateArray, elements.map(::toExprOrConstant).toTypedArray())
2679
2657
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())
2699
2658
/* *
2700
2659
* Creates an expression that concatenates an array with other arrays.
2701
2660
*
0 commit comments