The study was retrospective, capturing data from over 1.6 million patients with Type 2 diabetes but no history of obesity-associated cancers prior to the study period. Using electronic health records, researchers had follow-up data for up to 15 years after the patients started taking either a GLP-1 drug, insulin, or metformin between 2008 and 2015.