Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Mats_Ekdahl
Employee
Employee

"and.1.not.in.1"

what does "and.1.not.in.1" means in this example? It´s not documented?

/Mats

show objects limit 10 offset 0 order.1.ASC "name" and.1.not.in.1 "name" and.1.not.in.2 "ABC" and.2.in.1 "color" and.2.in.2 "BLACK" type "object" --format json  • "--format json" is optional. By default the output is presented in plain text.

1 Reply
Eugene_Grybinny
Employee Alumnus
Employee Alumnus

Hi Mats,

and.1.not.in.1 is a JSON path in a plain form that is required by mgmt_cli tool.

For example mgmt_cli arguments a.1.b.c.1 "test" equal to web payload {"a":[{"b":{"c":["test"]}}]}

In the original example

and.1.not.in.1 "name" and.1.not.in.2 "ABC" and.2.in.1 "color" and.2.in.2 "BLACK"

equals to

{

    "and": [

        {

            "not": {

                "in": ["name", "ABC"]

            }

        },

        {

            "in": ["color", "BLACK"]

        }

    ]

}

equals to

name != "ABC" and color = "BLACK"

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events