Query API Overview
The query API is made up of many classes. The following are the primary parts, generally used when updating a query:
| Field or Control | Description |
|---|---|
|
Query |
The query definition. |
|
QuerySelect |
A query SELECT statement. There can be multiple QuerySelect objects for queries that involve unions or subqueries. Each select (or union or subquery) consists of QueryRecords, QueryOutputFields, QuerySelectedFields, and QueryCriteria. |
|
QueryRecords |
The records that are part of the existing QuerySelect definition. |
|
QueryOutputFields |
The fields that you've selected to be displayed when the results of the query are run. |
|
QuerySelectedFields |
All the fields that make up the QuerySelect Definition. These include the fields selected as output fields, and fields added as part of Query Expressions. |
|
QueryCriteria |
The criteria for the query. |
|
QueryExpression |
The Query expressions that can contain SQL functions or other SQL fragments. |
|
QueryList |
The lists used in the in-list functionality for criteria. |
|
QueryPrompt |
The prompts used in criteria. |
|
QueryDBRecords and QueryDBRecordFields |
All the records available to be used as QueryRecords, and all the fields available. This list is restricted based on a user’s Query Access Security Groups. |