add remove split language chart show hidden hide
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
INSERT 0 1
namevalue json_path
"name1" {iProps,0,value,rules,0,ao,sc}
"name2" {iProps,0,value,rules,1,ao,sc}
"name3" {iProps,0,value,rules,2,ao,sc}
SELECT 3
UPDATE 1
jsonb_pretty
{
    "iProps": [
        {
            "value": {
                "rules": [
                    {
                        "ao": {
                            "sc": "name1"
                        }
                    },
                    {
                        "ao": {
                            "sc": "name2"
                        }
                    },
                    {
                        "ao": {
                            "sc": "name3"
                        }
                    }
                ]
            }
        }
    ]
}
SELECT 1