Good afternoon everyone!
I have a question, and I would like to hear your comments.
I'm building a system in php + laravel .
I have relationships between tables, for example: Users->Roles
.
It is assumed that there are 10,000 users registered with
Role == Admin
. If I exclude Role Admin , the system theoretically would have to delete 10,000 rows from therole_users
table because Role Admin will cease to exist.
Would that generate 10,000 queries? Would you overcharge DB?
Hugs