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

Function save_company

benchmarks/test_basic_doc_ops.py:106–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104 company.save()
105
106 def save_company():
107 company._mark_as_changed("name")
108 company._mark_as_changed("contacts")
109 company.save()
110
111 print("Save to database: %.3fms" % (timeit(save_company, 100) * 10**3))
112

Callers

nothing calls this directly

Calls 2

_mark_as_changedMethod · 0.45
saveMethod · 0.45

Tested by

no test coverage detected