app.models.document.Document.bind_ctx

classmethod Document.bind_ctx(database, bind_refs=True, bind_backrefs=True)