Overall, 22 867 patients with diabetes were included in the cohort, among which 10 577, 8125, 2893 and 1272 started a second-line treatment with SU, DPP-4i, SGLT2i and GLP-1-RA, respectively. This evidence concerns the gene GLP1R and diabetes mellitus.