await obj_with_backling.fetch_all_links() does not work - not implemented yet? #583
Unanswered
TutorExilius
asked this question in
Question
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I would like to know why there is no option to fetch also BACKLINKs on demand, like its working with LINKs.
If I have a document, which contains Links, everything works like expected.
await document_with_link.fetch_all_links()
But this does not work witch documents witch backlinks.
The current solution is to use document.get/find/find_one... with the argument
fetch_link=True
.But I need to fetch on my documents on demand (lazy loading).
I tried to fix the document.fetch_link() partially as follows:
A dirty hack for a very spcial purpose, see the function
async def _fetch_backlink(self, field: Union[str, Any]):
...is there a chance that the "fetching-on-demand" works for "backlinks" in general in near future?
Beta Was this translation helpful? Give feedback.
All reactions