Thursday, February 29, 2024

Re: Data model design questio: graph in database

Dear Ryan,

'Ryan Nowakowski' via Django users (2024/02/26 17:39 -0600):
> You might consider using GenericRelation. That would allow you to query the edges that have a certain vertex type.
>
> https://docs.djangoproject.com/en/5.0/ref/contrib/contenttypes/#generic-relations

That looks indeed very powerful and useful, thaks!

I'll definitely try that, too!

Best wishes,

Seb.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ZeDY_6Te2uj0_sKh%40om.localdomain.

No comments:

Post a Comment