Skip to content
Advertisement

matching names across multiple lists

the following code is what I’ve tried to do so far:

JavaScript

I am trying to match a search term with accounts that share an id with the term in it, and then match each of those other accounts that are with the id to other accounts on other ids and so on and basically see all of the linked accounts that start from a single term.

For example, if I searched “charm” it would return: “charm feline voxela derp virgo bitten hello” from the example uids above.

After a certain way down the line of connected accounts it stops matching. How would I successfully do this so that it matches all accounts potentially infinitely?

Advertisement

Answer

i think i got it to work:

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement