skip to Main Content

Javascript : Find node value through recursive iteration

I have the following structure : var content = { "id": "RkktMTA1OC0wNTE3QElNQi82NTAwNC9YLzAwSDc", "name": "FI-1058-0517", "category": "FTTH", "place": { "id": "SU1CLzY1MDA0L1gvMDBINw", "href": "/geographicSite/SU1CLzY1MDA0L1gvMDBINw", "name": "IMB/65004/X/00H7", "isSiteInfoAvailable": true, "place": [ { "geographicSubAddress": [ { "internalBuildingReference": "SSS0100000000000198332600", "internalFloorReference": "", "buildingName": "_NA_", "levelNumber": "0",…

VIEW QUESTION

How do I search within a PostgreSQL jsonb array?

I have a jsonb column that looks like this: { "customer_id": "1", "address": "123 Main St.", "orders": [{ "order_id": "1", "catogory": "tools", "item_num": "15", "tracking_num": "GDR9F654F" },{ "order_id": "2", "catogory": "accessories", "item_num": "28", "tracking_num": "PHW3X543T" }] } The "orders" key…

VIEW QUESTION
Back To Top
Search