File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1042,6 +1042,10 @@ When creating a collection inside a transaction:
1042
1042
:dbcommand:`create` command or its helper
1043
1043
:method:`db.createCollection()`.
1044
1044
1045
+ - The :method:`db.createCollection()` method fails if
1046
+ executed against a
1047
+ :doc:`system collection </reference/system-collections>`.
1048
+
1045
1049
When :ref:`creating an index <transactions-operations-ddl-explicit>`
1046
1050
inside a transaction:
1047
1051
@@ -1051,6 +1055,10 @@ inside a transaction:
1051
1055
- You can create an index on a new empty collection created earlier
1052
1056
in the same transaction.
1053
1057
1058
+ - The :method:`db.collection.createIndex()` method
1059
+ fails if executed against a
1060
+ :doc:`system collection </reference/system-collections>`.
1061
+
1054
1062
For more details, see :ref:`transactions-create-collections-indexes`.
1055
1063
1056
1064
MongoDB 4.4 adds a new parameter
You can’t perform that action at this time.
0 commit comments