home / nutrition

meal_foods

4 rows where meal_id = 208

✎ View and edit SQL

This data as json, CSV (advanced)

id ▼ meal_id food_id servings
381 208 208 Kirkland Protein Bar (1 bar) 49 1.0
382 208 208 Reese's Stix (1 package) 77 1.0
383 208 208 Fig Newtons (1 pack) 44 1.0
384 208 208 That's It Bar (1 bar) 52 1.0

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

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
  );
Powered by Datasette · Queries took 2.708ms