Macros Aggregation
A list of aggregated macronutrient sums for the given date ranges
The mealLogMacroAggs
query returns a list of aggregated macronutrients for the given date ranges, not grouped by date. I.e. the sum of carbs in grams consumed in the past 5 days.
The calculations made before logging a meal must be on the user's side.
Required Arguments
Argument | Type | Required |
| Date! | true |
| Date! | true |
Available Fields
Nutrient | Description | Unit |
| Carbs | g |
| Fat | g |
| Protein | g |
| Sugar | g |
| Net Carbs | g |
| Calories | cal |
Example
Last updated