SELECT * fetches unused columns

Code reviewMedium20 min

Your task

Review this Java DAO method that checks whether a user can log in.

The users table has a 4KB bio TEXT column, a profile_json JSONB column, and an avatar BYTEA.