Closed Arwask closed 6 years ago
Is this a joined query or do we want the OrderDetail object to contain Product information? Seems to violate single source of truth.
I have the same question. Also, it says JSON object, but we are using SQL. Is JSON how the Order is being passed around in the JavaScript or does it want us to store it as JSON?
I wanna help with this one!
Another update... Regarding @kenziebottoms comment: the first one. I'm understanding that the JSON
returned from a query to Orders
also makes a query of Products_Orders
& from there Products
to combine all the info.
Update the Order detail JSON object should contain all nested Product information.
For example: