meal_foods
3 rows where food_id = 64
This data as json, CSV (advanced)
Suggested facets: servings
| id ▼ | meal_id | food_id | servings |
|---|---|---|---|
| 261 | 140 140 | Reese's Peanut Butter Cup (1 cup) 64 | 1.0 |
| 263 | 142 142 | Reese's Peanut Butter Cup (1 cup) 64 | 1.0 |
| 309 | 163 163 | Reese's Peanut Butter Cup (1 cup) 64 | 2.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
);