NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added TOC macro and headings.
Panel
borderColorsilver
borderStylesolid
titleContents of This Page

Table of Contents

Finding Items Registered by Particular Users

The following example compound query finds only the items registered by the jane_doe user or the john_doe user:

Code Block
              {
                 "compoundQuery":    {
                    "operator": "OR",
                    "compoundQueries":       [
                                {
                          "operator": "OR",
                          "queries":             [
                                            {
                                "attribute": "registered_by",
                                "value": "jane_doe",
                                "operator": "EQUAL"
                             },
                                            {
                                "attribute": "registered_by",
                                "value": "john_doe",
                                "operator": "EQUAL"
                             }
                          ]
                       }
                    ]
                 },
              }

Multiple Nested Compound Queries

The following example contains multiple nested compound queries:

...