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 a32d495 commit 9f3a72cCopy full SHA for 9f3a72c
docs/tutorials/bson-v4.txt
@@ -392,6 +392,13 @@ Represents a string of JavaScript code.
392
``BSON::CodeWithScope``
393
```````````````````````
394
395
+.. note::
396
+
397
+ The ``CodeWithScope`` type is deprecated as of MongoDB 4.2.1. Starting
398
+ with MongoDB 4.4, support from ``CodeWithScope`` is being removed from
399
+ various server commands and operators such as ``$where``. Please use
400
+ other BSON types and operators when working with MongoDB 4.4 and newer.
401
402
Represents a string of JavaScript code with a hash of values.
403
404
.. code-block:: ruby
0 commit comments