You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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