Micronutrients Aggregation

A list of aggregated micronutrient sums for the given date ranges

The nutrientAggregationsByFoodLog query returns a list of aggregated micronutrients for the given date ranges, not grouped by date. I.e. the sum of calcium 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

fromDate

Date!

true

toDate

Date!

true

Available Fields

Nutrient

Description

Unit

chocdf (carbs)

Carbs

G

fat

Fat

G

procnt (protein)

Protein

G

sugar

Sugar

G

netcarbs

Net Carbs

G

calcium

Calcium

MG

chromium

Chromium

UG

copper

Copper

MG

fluoride

Fluoride

UG

iodine

Iodine

G

iron

Iron

MG

magnesium

Magnesium

MG

manganese

Manganese

MG

molybdenum

Molybdenum

UG

phosphorus

Phosphorus

MG

selenium

Selenium

UG

zinc

Zinc

MG

potassium

Potassium

MG

sodium

Sodium

MG

chloride

Chloride

vitamina

Vitamin A

IU

vitaminc

Vitamin C

MG

vitamind

Vitamin D

UG

vitamine

Vitamin E

MG

vitamink

Vitamin K

UG

thiamin

Thiamin

MG

riboflavin

Riboflavin

MG

niacin

Niacin

MG

vitaminb6

Vitamin B6

MG

folate

Folate

UG

vitaminb12

Vitamin B12

UG

pantothenicacid

Phanothenic Acid

MG

biotin

Biotin

UG

choline

Choline

MG

totalfiber

Total Fiber

G

linoleicacid

Linoleic Acid

alphaLinolenicacid

Alpha Linolenic Acid

Example

{
    nutrientAggregationsByFoodLog(fromDate: "2023-09-28" toDate: "2023-09-29") {
        chocdf {
          value
          goal
        }
         procnt {
          value
          goal
        }
        fat {
          value
          goal
        }
        netcarbs {
          value
          goal
        }
        calcium {
          value
          goal
        }
        chromium {
          value
          goal
        }
        copper{
          value
          goal
        }
        fluoride {
          value
          goal
        }
        iodine {
          value
          goal
        }
        iron {
          value
          goal
        }
        magnesium {
          value
          goal
        }
        manganese {
          value
          goal
        }
         molybdenum {
          value
          goal
        }
        phosphorus {
          value
          goal
        }
        selenium {
          value
          goal
        }
        zinc {
          value
          goal
        }
        potassium {
          value
          goal
        }
        sodium {
          value
          goal
        }
        chloride {
          value
          goal
        }
        vitamina {
          value
          goal
        }
        vitaminc {
          value
          goal
        }
        vitamind {
          value
          goal
        }
        vitamine {
          value
          goal
        }
        vitamink {
          value
          goal
        }
        thiamin {
          value
          goal
        }
        riboflavin {
          value
          goal
        }
        niacin{
          value
          goal
        } 
        vitaminb6{
          value
          goal
        } 
        folate{
          value
          goal
        } 
        vitaminb12{
          value
          goal
        } 
        pantothenicacid{
          value
          goal
        } 
        biotin{
          value
          goal
        } 
        choline{
          value
          goal
        } 
        totalfiber{
          value
          goal
        } 
        linoleicacid{
          value
          goal
        } 	
        alphaLinolenicacid{
          value
          goal
        }
    }
}

Last updated