any one take reglan for nausea while pregnant

Lovely
I went to the ER today because for the last 3.5 months I can't control the nausea, they gave me an iv with reglan and a prescription for it. However I'm reading online a side effect is depression!!?!? 
Any mama take this before and have any info, if this is the case I'd rather not take the pills they gave me. 

Glow Resources

Let’s Glow

Glow is here for you on your path to pregnancy

Glow helps you navigate your fertility journey with smart tools, personalized insights, and guidance from medical experts who understand what matters most.

25+ million

Users

4.8 stars

200k+ app ratings

20+

Medical advisors