The association between ln-transformed FGF19 levels and diabetes was partially mediated by BMI, with the proportion of 10.1% (P-value < 0.05). Here, FGF19 is linked to diabetes mellitus.