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 32db25a commit 346bf33Copy full SHA for 346bf33
source/includes/table-sql-to-mongo-schema-examples.yaml
@@ -72,13 +72,17 @@ sql3: |
72
ALTER TABLE users
73
DROP COLUMN join_date
74
mongo3: |
75
- Collections do not describe or enforce the structure of the
76
- constituent documents. See the :doc:`/core/data-modeling`
77
- page for more information.
+ .. code-block:: javascript
+ :emphasize-lines: 1-5
+
78
+ db.users.update(
79
+ { },
80
+ { $unset: { join_date: "" } },
81
+ { multi: true }
82
+ )
83
ref3: |
84
See :method:`update() <db.collection.update()>` and
- :operator:`$set` for more information on changing the structure
- of documents in a collection.
85
+ :operator:`$unset` for more information.
86
sql4: |
87
.. code-block:: sql
88
0 commit comments