We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d73cfee commit eb07b55Copy full SHA for eb07b55
source/calculated-fields.txt
@@ -182,6 +182,20 @@ complex calculated fields.
182
183
{ $sum: ["$price", "$salesTax"] }
184
185
+Literal Strings
186
+~~~~~~~~~~~~~~~
187
+
188
+You can set a calculated field's value to a string using the ``$literal``
189
+operator.
190
191
+.. example::
192
193
+ The following field definition assigns a value of ``my string``:
194
195
+ .. code-block:: json
196
197
+ { $literal: "my string" }
198
199
.. _edit-calculated-field:
200
201
Edit a Calculated Field
0 commit comments