• Login
Community
  • Login

can someone please help me with Parent, root node making

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 2 Posters 815 Views
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.
  • C
    clip switch
    last edited by clip switch Jul 13, 2018, 11:00 AM Jul 13, 2018, 10:59 AM

    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 ?

    S 1 Reply Last reply Jul 13, 2018, 12:13 PM Reply Quote 0
    • S
      Scott Sumner @clip switch
      last edited by Jul 13, 2018, 12:13 PM

      @clip-switch

      See here .

      1 Reply Last reply Reply Quote 0
      1 out of 2
      • First post
        1/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors