Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    can someone please help me with Parent, root node making

    Help wanted · · · – – – · · ·
    2
    2
    574
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • clip switch
      clip switch last edited by clip switch

      i exported a database in cvs. to notepad++ and made a json file out of it.
      now it looks like this https://drive.google.com/file/d/1_qLwaMw2dxa4ttCnPytO84eY0CONPFKH/view?usp=sharing

      the problem i have is i just imported this into firebase to use with the App i’m building.
      Inside my app i can search in the database but not for the Code, Description,type number and manufacturer values.

      firebase puts them as childs under root nodes that just do this 1,2,3,4,5 etc for every entry.
      so i can search for 100 as example and then my app will display those 4 categories with its values .

      But i want to at least be able to search for the value behind code so for example i type in one of the values behind a code like 1234566, and then it displays everything.

      so i guess i would have to make every code the parent category or root node but how do i do this fast and easy?
      cause i got like 50K plus entries if i have to do this manually i t would take months.

      Can anyone help me with this ?

      Scott Sumner 1 Reply Last reply Reply Quote 0
      • Scott Sumner
        Scott Sumner @clip switch last edited by

        @clip-switch

        See here.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors