Is it a compliment to tell a woman you're prettier than your mom?

We were on a date and I told her she was the prettiest woman I've seen. She said "yeah right, am I prettier than your mom?" To which I replied with yes. Lol

Updates
1 y
I meant "she's prettier than my mom"
Is it a compliment to tell a woman you're prettier than your mom?
Post Opinion