How does glipizide work for diabetes?

Glipizide. Glipizide is a sulfonurea drug that is used in the treatment of type two diabetes mellitus. It works by stimulating the pancreas to produce more insulin.
Tells beta-cells to . Put out more insulin, but have high risk low blood sugar but safer drugs can do same, but without risk of low blood sugar dpp-4 inhibitors or glp-1 receptor agonists.