As shown in the image above, I got the exact construction. What I am trying to do right now is to compare a custom value
given by me and to compare to each of the ip keys' values
for either Paster or Ruzgar child. I will add a condition that if, for instance, such ip value
has already been registered under Paster child
for example, then return you have already been registered, else add that value with another push()
function.
I am using Node.js as my app is integrated with React. Each iteration is not reasonable in my case, as I believe this data will expand to thousands, and considering each request will take some time, it will end up taking a decent amount of latency. What is the most logical way to collect all the ip values
under this construction?