meal_foods
4 rows where meal_id = 324
This data as json, CSV (advanced)
Suggested facets: servings
| id ▼ | meal_id | food_id | servings |
|---|---|---|---|
| 598 | 324 324 | Fairlife Protein Drink 81 | 1.0 |
| 599 | 324 324 | Monster Pipeline Punch (16 oz can) 21 | 0.5 |
| 600 | 324 324 | String Cheese (1 stick) 31 | 1.0 |
| 601 | 324 324 | That's It Bar (1 bar) 52 | 1.0 |
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
);