Skip to content

Commit dfd7e0a

Browse files
refactor!: remove BaseQuerySet from base module
BaseQuerySet is now defined only in the synchronous queryset implementation.
1 parent 7d95955 commit dfd7e0a

3 files changed

Lines changed: 4 additions & 1499 deletions

File tree

mongoengine/asynchronous/queryset/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,8 +1147,8 @@ def select_related(self, *fields: str):
11471147
*fields: dotted paths of reference fields to preload.
11481148
Examples:
11491149
select_related("author")
1150-
select_related("author.country")
1151-
select_related("comments.user")
1150+
select_related("author__country")
1151+
select_related("comments__user")
11521152
11531153
Returns:
11541154
QuerySet — clone with select_related instructions

0 commit comments

Comments
 (0)