Select distinct on database

Yes, but using the query method is fine, I think, as long as you use placeholders for user data and as long as you don’t manually concatenate user input, see also these topics:

1 Like