The researchers looked at women who had a subsequent pregnancy and compared those who developed gestational diabetes mellitus (GDM) during pregnancy to women who did not have GDM.