Is it better to do 2 queries or 1 but big in PostgreSQL?
I'm working on a rights verification system. In order to verify that the user has access to the documents, I make a request to the database There are 2 cases when you can get access: The user is in the…