meal_foods
11 rows where food_id = 18
This data as json, CSV (advanced)
| id ▼ | meal_id | food_id | servings |
|---|---|---|---|
| 13 | 10 10 | Glazed Donut (1 donut) 18 | 0.5 |
| 15 | 11 11 | Glazed Donut (1 donut) 18 | 0.5 |
| 161 | 88 88 | Glazed Donut (1 donut) 18 | 0.5 |
| 162 | 89 89 | Glazed Donut (1 donut) 18 | 0.5 |
| 170 | 93 93 | Glazed Donut (1 donut) 18 | 0.5 |
| 173 | 95 95 | Glazed Donut (1 donut) 18 | 0.5 |
| 183 | 101 101 | Glazed Donut (1 donut) 18 | 0.5 |
| 196 | 106 106 | Glazed Donut (1 donut) 18 | 0.5 |
| 199 | 107 107 | Glazed Donut (1 donut) 18 | 0.5 |
| 208 | 113 113 | Glazed Donut (1 donut) 18 | 0.5 |
| 213 | 117 117 | Glazed Donut (1 donut) 18 | 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
);