If I wanna say "you eat like a pig"


Ты ешь как свинья? Nominative? Simple as that? Because I wasn't sure if I read somewhere that you need to use the dative.