Astro DB - Many-to-many relationship #7486
piotrkulpinski
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying out Astro DB and want to create simple database for my blog.
I want my posts to have categories, so I'd need a many-to-many relationship between them.
Here's what I have:
With such db design, I need to use inner joins with every query I do, right?
Is there any simpler way to do that? I'd love to be able to define the relations on the main tables and have Astro DB create the relation table for me automatically.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions