meal_foods
3 rows where meal_id = 311
This data as json, CSV (advanced)
| id ▼ | meal_id | food_id | servings |
|---|---|---|---|
| 573 | 311 311 | Five Guys Cheeseburger (ketchup only) 22 | 1.0 |
| 574 | 311 311 | Five Guys Little Fries (1 serving) 86 | 0.75 |
| 575 | 311 311 | Monster Bad Apple (16 oz can) 26 | 0.5 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE meal_foods (
id INTEGER PRIMARY KEY AUTOINCREMENT,
meal_id INTEGER NOT NULL REFERENCES meals(id) ON DELETE CASCADE,
food_id INTEGER NOT NULL REFERENCES foods(id),
servings REAL NOT NULL DEFAULT 1.0
);