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

Method save

mongoengine/base/datastructures.py:305–314  ·  view source on GitHub ↗

Saves the ancestor document. :param args: Arguments passed up to the ancestor Document's save method. :param kwargs: Keyword arguments passed up to the ancestor Document's save method.

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

303 return self._instance[self._name][-1]
304
305 def save(self, *args, **kwargs):
306 """
307 Saves the ancestor document.
308
309 :param args: Arguments passed up to the ancestor Document's save
310 method.
311 :param kwargs: Keyword arguments passed up to the ancestor Document's
312 save method.
313 """
314 self._instance.save(*args, **kwargs)
315
316 def delete(self):
317 """

Callers 1

createMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected