Yes, he had me squatting and I still do these.My understanding is the deadlifts will strengthen your gluts and hamstrings, and many other muscles, but I mention those because they will support your knee ligaments. Of course you need proper form.
Did your trainer have you squatting?