Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/MongoEngine/mongoengine
/ prepare_query_value
Method
prepare_query_value
mongoengine/base/fields.py:546–547 ·
view source on GitHub ↗
(self, op, value)
Source
from the content-addressed store, hash-verified
544
self.error(
"Field is required and cannot be empty"
)
545
546
def
prepare_query_value(self, op, value):
547
return
self.to_mongo(value)
548
549
def
lookup_member(self, member_name):
550
if
self.field:
Callers
nothing calls this directly
Calls
1
to_mongo
Method · 0.95
Tested by
no test coverage detected