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

Method prepare_query_value

mongoengine/fields.py:1551–1555  ·  view source on GitHub ↗
(self, op, value)

Source from the content-addressed store, hash-verified

1549 return SON((("_cls", document._class_name), ("_ref", ref)))
1550
1551 def prepare_query_value(self, op, value):
1552 if value is None:
1553 return None
1554
1555 return self.to_mongo(value)
1556
1557
1558class BinaryField(BaseField):

Callers

nothing calls this directly

Calls 1

to_mongoMethod · 0.95

Tested by

no test coverage detected