In the original approach, there is no parent table. The only one table, booking, without the corresponding data for the reservation. Thus, we cannot lock for nothing.
For this practical example, the room list might be stored at the MongoDB or any other data storage. After all, the room list is not the core of this system >.^
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
In the original approach, there is no parent table. The only one table, booking, without the corresponding data for the reservation. Thus, we cannot lock for nothing.
For this practical example, the room list might be stored at the MongoDB or any other data storage. After all, the room list is not the core of this system >.^