gestational diabetes.

Ok so I went to the ER Friday and was told that I have ketones and glucose in my urine. Does that necessarily mean that I have gestational diabetes? Is there a way for it to be treated? 😕 My appt isn't until Dec. 6 so I'm just curious.