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

Method to_mongo

mongoengine/fields.py:369–370  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

367 """64-bit integer field. (Equivalent to IntField since the support to Python2 was dropped)"""
368
369 def to_mongo(self, value):
370 return Int64(value)
371
372
373class FloatField(BaseField):

Callers 12

to_mongoMethod · 0.45
to_mongoMethod · 0.45
to_mongoMethod · 0.45
to_mongoMethod · 0.45
to_mongoMethod · 0.45
to_mongoMethod · 0.45
to_mongoMethod · 0.45
to_mongoMethod · 0.45
to_mongoMethod · 0.45
to_mongoMethod · 0.45
test_basicFunction · 0.45
test_big_docFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_basicFunction · 0.36
test_big_docFunction · 0.36