MCPcopy Index your code
hub / github.com/MongoEngine/mongoengine / comment

Method comment

mongoengine/queryset/base.py:1197–1203  ·  view source on GitHub ↗

Add a comment to the query. See https://www.mongodb.com/docs/manual/reference/method/cursor.comment/ for details.

(self, text)

Source from the content-addressed store, hash-verified

1195 return queryset
1196
1197 def comment(self, text):
1198 """Add a comment to the query.
1199
1200 See https://www.mongodb.com/docs/manual/reference/method/cursor.comment/
1201 for details.
1202 """
1203 return self._chainable_method("comment", text)
1204
1205 def explain(self):
1206 """Return an explain plan record for the

Callers 2

_cursorMethod · 0.80
test_commentMethod · 0.80

Calls 1

_chainable_methodMethod · 0.95

Tested by 1

test_commentMethod · 0.64