'Update Join 3 table CODEIGNITER 4

how to update data from 3 join table? how is the flow to update data from 3 table joins

this is the table

user table

table 1
id_user
name
email
password

room table

table 2
id_room
name_room
status_room
price

rev table join from table user and room

table 3
id_rev
id_room
id_user
facility


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source