To compare the risks of gastric cancer and other gastric diseases in patients with type-2 diabetes mellitus (T2DM) exposed to sodium-glucose cotransporter 2 inhibitors (SGLT2I), dipeptidyl peptidase-4 inhibitors (DPP4I) or glucagon-like peptide-1 receptor agonists (GLP1a). Here, DPP4 is linked to type 2 diabetes mellitus.