I have a structure where a user stores their favorite users and this field repeats some fields like nick, level and photo.
When a user modifies their nick I want to modify it in all the favorite nodes of the users that have this as a favorite and where the nick is also.
I have the following code but it is not enough to get to the nodes that interest me.
What is the correct query to do what I want? And since we are if you tell me how to get the value of the unknown route for the update, I would greatly appreciate it.