Skip to content

Data app: Provide query templates #112

@paterczm

Description

@paterczm

The app already provides some base query body, e.g.:

{
  "objectType": "terms",
  "version": "2.1.0",
}

It's of little help. I would like it to provide a simple, but working query:

{
  "objectType": "terms",
  "version": "2.1.0",
  "query":{  
      "field":"objectType",  
      "op":"=",  
      "rvalue":"terms"  
  },  
  "projection":[  
      {  
        "field":"*",
        "include": true
      }  
  ] 
}

Which can be used as a base to query for whatever you need.

This is a find example. We need example queries for save, update and delete too.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions