What are the risk factors of gestational diabetes?

Dear doctor; I am suffering from type 2 diabetes and yet I would like to have my third child before I hit 40. I am now 39. However, my worry is that I could end up transmitting the disease to my unborn child. Could this really happen? If not, how does gestational diabetes occur?
no image
Times Reporter