@@ -86,6 +86,11 @@ description: |
86
86
Accepts either three expressions in an ordered list or three named
87
87
parameters.
88
88
---
89
+ name : :expression:`$convert`
90
+ file : /reference/operator/aggregation/convert
91
+ description : |
92
+ Converts a value to a specified type.
93
+ ---
89
94
name : :expression:`$dateFromParts`
90
95
file : /reference/operator/aggregation/dateFromParts
91
96
description : |
@@ -544,6 +549,47 @@ description: |
544
549
Evaluates a series of case expressions. When it finds an expression
545
550
which evaluates to ``true``, ``$switch`` executes a specified
546
551
expression and breaks out of the control flow.
552
+
553
+ ---
554
+ name : :expression:`$toBool`
555
+ file : /reference/operator/aggregation/toBool
556
+ description : |
557
+ Converts value to a boolean.
558
+ ---
559
+ name : :expression:`$toDate`
560
+ file : /reference/operator/aggregation/toDate
561
+ description : |
562
+ Converts value to a Date.
563
+ ---
564
+ name : :expression:`$toDecimal`
565
+ file : /reference/operator/aggregation/toDecimal
566
+ description : |
567
+ Converts value to a Decimal128.
568
+ ---
569
+ name : :expression:`$toDouble`
570
+ file : /reference/operator/aggregation/toDouble
571
+ description : |
572
+ Converts value to a double.
573
+ ---
574
+ name : :expression:`$toInt`
575
+ file : /reference/operator/aggregation/toInt
576
+ description : |
577
+ Converts value to an integer.
578
+ ---
579
+ name : :expression:`$toLong`
580
+ file : /reference/operator/aggregation/toLong
581
+ description : |
582
+ Converts value to a long.
583
+ ---
584
+ name : :expression:`$toObjectId`
585
+ file : /reference/operator/aggregation/toObjectId
586
+ description : |
587
+ Converts value to an ObjectId.
588
+ ---
589
+ name : :expression:`$toString`
590
+ file : /reference/operator/aggregation/toString
591
+ description : |
592
+ Converts value to a string.
547
593
---
548
594
name : :expression:`$toLower`
549
595
file : /reference/operator/aggregation/toLower
0 commit comments