You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1135,9 +1142,11 @@ abstract class Expression implements firestore.Pipelines.Expression, HasUserData
1135
1142
ifAbsent(elseExpression:unknown):Expression;
1136
1143
ifError(catchExpr:Expression):FunctionExpression;
1137
1144
ifError(catchValue:unknown):FunctionExpression;
1145
+
ifNull(elseValue:unknown):Expression;
1146
+
ifNull(elseExpression:unknown):Expression;
1138
1147
isAbsent():BooleanExpression;
1139
1148
isError():BooleanExpression;
1140
-
isType(type:Type):BooleanExpression;
1149
+
isType(type:string):BooleanExpression;
1141
1150
join(delimiterExpression:Expression):Expression;
1142
1151
join(delimiter:string):Expression;
1143
1152
last():AggregateFunction;
@@ -1414,6 +1423,8 @@ class Firestore implements firestore.Firestore {
1414
1423
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
1415
1424
// Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
1416
1425
constructor(settings?:firestore.Settings);
1426
+
//@internal
1427
+
get alwaysUseImplicitOrderBy():boolean;
1417
1428
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
1418
1429
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
1419
1430
batch():WriteBatch;
@@ -1636,6 +1647,18 @@ function ifError(tryExpr: Expression, catchExpr: Expression): FunctionExpression
1636
1647
// @beta
1637
1648
function ifError(tryExpr:Expression, catchValue:unknown):FunctionExpression;
1638
1649
1650
+
// @beta
1651
+
function ifNull(ifExpr:Expression, elseExpr:Expression):Expression;
1652
+
1653
+
// @beta
1654
+
function ifNull(ifExpr:Expression, elseValue:unknown):Expression;
1655
+
1656
+
// @beta
1657
+
function ifNull(ifFieldName:string, elseExpr:Expression):Expression;
1658
+
1659
+
// @beta
1660
+
function ifNull(ifFieldName:string, elseValue:unknown):Expression;
1661
+
1639
1662
// @beta
1640
1663
function isAbsent(value:Expression):BooleanExpression;
1641
1664
@@ -1646,10 +1669,10 @@ function isAbsent(field: string): BooleanExpression;
1646
1669
function isError(value:Expression):BooleanExpression;
1647
1670
1648
1671
// @beta
1649
-
function isType(fieldName:string, type:Type):BooleanExpression;
1672
+
function isType(fieldName:string, type:string):BooleanExpression;
1650
1673
1651
1674
// @beta
1652
-
function isType(expression:Expression, type:Type):BooleanExpression;
1675
+
function isType(expression:Expression, type:string):BooleanExpression;
1653
1676
1654
1677
// @beta
1655
1678
function join(arrayFieldName:string, delimiter:string):Expression;
@@ -1884,7 +1907,7 @@ class Ordering implements HasUserData {
0 commit comments