Hello and thanks for the explanation.
Unfortunately this does not solve my problem because I thought I had acquired a generalized procedure capable of managing any type of Firebase database. From what I understand, after reading your post, I have to modify the part of index that concerns the functions: Add, Update, Remove, Find based on the data configuration of my DB.
Now, if I have more than one table inside the DB, how can I manage them separately?