Pradeep Padmarajaiah
Pradeep Padmarajaiah

Reputation: 543

Fetch an particular attribute from a resource using Query Language

How to fetch a particular attribute from a resource using Query Language.

For example, for all the Employees, I need fetch email from the Employee participant. (Similar to get specific columns in the table: SELECT email from the employee)

There is a sample query in the doc to fetch all Employee attributes.

query Q1{
  description: "Select all Employees older than"
  statement:
      SELECT org.acme.Employee
}

Upvotes: 0

Views: 97

Answers (1)

Paul O'Mahony
Paul O'Mahony

Reputation: 6740

selecting individual fields in a SELECT not presently supported. Feel free to add an issue for this. Thanks

Upvotes: 2

Related Questions