-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grocery-Department relation #11
Comments
one grocery list has many departments. maybe we'll change something in future, but for now it's ok relation |
I think we need to add grocery_id to the department? |
What if department are not attached to any of grocery lists? not agree. Give me more details. What do you trying to do or what method are you trying to build |
I am trying to understand the db relations, so I can reflect the same on graphql. |
I understand. it's not an easy question. Let's do a quick way - grocery object should have an array with departments. Btw, maybe this visual will help a bit: https://github.com/GroceriStar/creative/blob/master/fetch-examples/readme.md |
we made some updates in our static-data repository and also add some new methods to this project. Buzz me when you'll have time - i want to explain what we actually did and how it can help you |
It is many-many, right?
is the id_1 in Grocery table refer to department_id?
The text was updated successfully, but these errors were encountered: