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
* An enumeration of the different types generated by the Firestore backend.
36
-
*
37
-
* <ul>
38
-
* <li>Numerics evaluate directly to backend representation (`int64` or `float64`), not JS `number`.</li>
39
-
* <li>JavaScript `Date` and firestore `Timestamp` objects strictly evaluate to `'timestamp'`.</li>
40
-
* <li>Advanced configurations parsing backend types (such as `decimal128`, `max_key` or `min_key` from BSON) are also incorporated in this union string type. Note that `decimal128` is a backend-only numeric type that the JavaScript SDK cannot create natively, but can be evaluated in pipelines.</li>
41
-
* </ul>
42
-
*/
43
-
exporttypeType=
44
-
|'null'
45
-
|'array'
46
-
|'boolean'
47
-
|'bytes'
48
-
|'timestamp'
49
-
|'geo_point'
50
-
|'number'
51
-
|'int32'
52
-
|'int64'
53
-
|'float64'
54
-
|'decimal128'
55
-
|'map'
56
-
|'reference'
57
-
|'string'
58
-
|'vector'
59
-
|'max_key'
60
-
|'min_key'
61
-
|'object_id'
62
-
|'regex'
63
-
|'request_timestamp';
64
-
65
32
/**
66
33
* @beta
67
34
* Represents an expression that can be evaluated to a value within the execution of a `Pipeline`.
@@ -3083,6 +3050,10 @@ export abstract class Expression
3083
3050
* Creates an expression that checks if the result of this expression is of the given type.
3084
3051
*
3085
3052
* @remarks Null or undefined fields evaluate to skip/error. Use `ifAbsent()` / `isAbsent()` to evaluate missing data.
* An enumeration of the different types generated by the Firestore backend.
11349
-
*
11350
-
* <ul>
11351
-
* <li>Numerics evaluate directly to backend representation (`int64` or `float64`), not JS `number`.</li>
11352
-
* <li>JavaScript `Date` and firestore `Timestamp` objects strictly evaluate to `'timestamp'`.</li>
11353
-
* <li>Advanced configurations parsing backend types (such as `decimal128`, `max_key` or `min_key` from BSON) are also incorporated in this union string type. Note that `decimal128` is a backend-only numeric type that the JavaScript SDK cannot create natively, but can be evaluated in pipelines.</li>
11354
-
* </ul>
11355
-
*/
11356
-
exporttypeType=
11357
-
|'null'
11358
-
|'array'
11359
-
|'boolean'
11360
-
|'bytes'
11361
-
|'timestamp'
11362
-
|'geo_point'
11363
-
|'number'
11364
-
|'int32'
11365
-
|'int64'
11366
-
|'float64'
11367
-
|'decimal128'
11368
-
|'map'
11369
-
|'reference'
11370
-
|'string'
11371
-
|'vector'
11372
-
|'max_key'
11373
-
|'min_key'
11374
-
|'object_id'
11375
-
|'regex'
11376
-
|'request_timestamp';
11377
-
11378
11349
/**
11379
11350
* @beta
11380
11351
* Creates an expression that returns the data type of the data in the specified field.
0 commit comments