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 94c3735 commit 4bb8678Copy full SHA for 4bb8678
docs/guide/connecting.rst
@@ -186,9 +186,9 @@ access to the same User document across databases::
186
with switch_db(User, 'archive-user-db') as User:
187
User(name='Ross').save() # Saves the 'archive-user-db'
188
189
-.. note:: :func:`~mongoengine.context_managers.switch_db` when used on
190
- a class that allow inheritance will change the database alias
191
- for instances of a given class only - instances of subclasses will still use
+.. note:: :func:`~mongoengine.context_managers.switch_db` when used on
+ a class that allow inheritance will change the database alias
+ for instances of a given class only - instances of subclasses will still use
192
the default database.
193
194
Switch Collection
0 commit comments